I have a problem , please help me

when i want to use the function st.beta_set_page_config(layout=“wide”) , the app wont run and i dont know why ?? please help me

Hi @oumaima,

Can you please share the error message and trace?
If you’re using Streamlit version >=0.70, note that set_page_config is not in beta any more. Also note this should be the first function you run.

You could use it as follows:

import streamlit as st
<any other imports>


<rest of your code>
1 Like

Thank you so much for this , it works