Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,8 @@
|
|
1 |
import os
|
2 |
-
|
|
|
|
|
|
|
3 |
|
4 |
|
5 |
import streamlit as st
|
|
|
1 |
import os
|
2 |
+
|
3 |
+
# Set Streamlit config path to a writable directory
|
4 |
+
os.environ["STREAMLIT_CONFIG_DIR"] = os.path.join(os.getcwd(), ".streamlit")
|
5 |
+
os.makedirs(os.environ["STREAMLIT_CONFIG_DIR"], exist_ok=True)
|
6 |
|
7 |
|
8 |
import streamlit as st
|