Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
import shutil
|
| 2 |
import tempfile
|
| 3 |
from pathlib import Path
|
|
|
|
| 1 |
+
import os
|
| 2 |
+
os.environ["STREAMLIT_CONFIG_DIR"] = "/tmp/.streamlit"
|
| 3 |
+
os.makedirs("/tmp/.streamlit", exist_ok=True)
|
| 4 |
+
|
| 5 |
import shutil
|
| 6 |
import tempfile
|
| 7 |
from pathlib import Path
|