You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is my code where I'm using set_page_config method.
streamlit run app.py
You can now view your Streamlit app in your browser.
Local URL: http://localhost:8501
Network URL: http://192.168.0.169:8501
2022-05-28 17:59:52.788 Traceback (most recent call last):
File "/home/irfan/environments/The-Entities-Swissknife/lib/python3.7/site-packages/streamlit/scriptrunner/script_runner.py", line 475, in _run_script
exec(code, module.__dict__)
File "/home/irfan/PycharmProjects/TES-Search/app.py", line 16, in<module>"About": None
File "/home/irfan/environments/The-Entities-Swissknife/lib/python3.7/site-packages/streamlit/commands/page_config.py", line 145, in set_page_config
ctx.enqueue(msg)
File "/home/irfan/environments/The-Entities-Swissknife/lib/python3.7/site-packages/streamlit/scriptrunner/script_run_context.py", line 74, in enqueue
+ "(https://docs.streamlit.io/library/api-reference/utilities/st.set_page_config)."
streamlit.errors.StreamlitAPIException: `set_page_config()` can only be called once per app, and must be called as the first Streamlit commandin your script.For more information refer to the [docs](https://docs.streamlit.io/library/api-reference/utilities/st.set_page_config).2022-05-28 17:59:53.693 Traceback (most recent call last): File "/home/irfan/environments/The-Entities-Swissknife/lib/python3.7/site-packages/streamlit/scriptrunner/script_runner.py", line 475, in _run_script exec(code, module.__dict__) File "/home/irfan/PycharmProjects/TES-Search/app.py", line 16, in<module>"About": None File "/home/irfan/environments/The-Entities-Swissknife/lib/python3.7/site-packages/streamlit/commands/page_config.py", line 145, in set_page_config ctx.enqueue(msg) File "/home/irfan/environments/The-Entities-Swissknife/lib/python3.7/site-packages/streamlit/scriptrunner/script_run_context.py", line 74, in enqueue + "(https://docs.streamlit.io/library/api-reference/utilities/st.set_page_config)."streamlit.errors.StreamlitAPIException: `set_page_config()` can only be called once per app, and must be called as the first Streamlit commandin your script.For more information refer to the [docs](https://docs.streamlit.io/library/api-reference/utilities/st.set_page_config).2022-05-28 17:59:58.637 Traceback (most recent call last): File "/home/irfan/environments/The-Entities-Swissknife/lib/python3.7/site-packages/streamlit/scriptrunner/script_runner.py", line 475, in _run_script exec(code, module.__dict__) File "/home/irfan/PycharmProjects/TES-Search/app.py", line 16, in<module>"About": None File "/home/irfan/environments/The-Entities-Swissknife/lib/python3.7/site-packages/streamlit/commands/page_config.py", line 145, in set_page_config ctx.enqueue(msg) File "/home/irfan/environments/The-Entities-Swissknife/lib/python3.7/site-packages/streamlit/scriptrunner/script_run_context.py", line 74, in enqueue + "(https://docs.streamlit.io/library/api-reference/utilities/st.set_page_config)."streamlit.errors.StreamlitAPIException: `set_page_config()` can only be called once per app, and must be called as the first Streamlit commandin your script.For more information refer to the [docs](https://docs.streamlit.io/library/api-reference/utilities/st.set_page_config).2022-05-28 17:59:59.689 Traceback (most recent call last): File "/home/irfan/environments/The-Entities-Swissknife/lib/python3.7/site-packages/streamlit/scriptrunner/script_runner.py", line 475, in _run_script exec(code, module.__dict__) File "/home/irfan/PycharmProjects/TES-Search/app.py", line 16, in<module>"About": None File "/home/irfan/environments/The-Entities-Swissknife/lib/python3.7/site-packages/streamlit/commands/page_config.py", line 145, in set_page_config ctx.enqueue(msg) File "/home/irfan/environments/The-Entities-Swissknife/lib/python3.7/site-packages/streamlit/scriptrunner/script_run_context.py", line 74, in enqueue + "(https://docs.streamlit.io/library/api-reference/utilities/st.set_page_config)."streamlit.errors.StreamlitAPIException: `set_page_config()` can only be called once per app, and must be called as the first Streamlit commandin your script.For more information refer to the [docs](https://docs.streamlit.io/library/api-reference/utilities/st.set_page_config).
The text was updated successfully, but these errors were encountered:
cannot use
set_page_config
in multiapp. Throws following error.This is my code where I'm using
set_page_config
method.The text was updated successfully, but these errors were encountered: