I have a problem , please help me

hello,
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>

st.set_page_config(layout="wide")

<rest of your code>
1 Like

Thank you so much for this , it works

2 Likes