Spaces:
Runtime error
Runtime error
Update frontend/streamlit_app.py
Browse files
frontend/streamlit_app.py
CHANGED
|
@@ -79,12 +79,16 @@
|
|
| 79 |
# "<div style='color:red;font-size:40px;text-align:center;font-weight:bold;'>SELL 🔽</div>",
|
| 80 |
# unsafe_allow_html=True,
|
| 81 |
# )
|
|
|
|
|
|
|
|
|
|
|
|
|
| 82 |
|
| 83 |
import streamlit as st
|
| 84 |
import random
|
| 85 |
import time
|
| 86 |
|
| 87 |
-
st.set_page_config(page_title="
|
| 88 |
|
| 89 |
st.markdown(
|
| 90 |
"""
|
|
|
|
| 79 |
# "<div style='color:red;font-size:40px;text-align:center;font-weight:bold;'>SELL 🔽</div>",
|
| 80 |
# unsafe_allow_html=True,
|
| 81 |
# )
|
| 82 |
+
import os
|
| 83 |
+
# ✅ Fix permission error for Hugging Face
|
| 84 |
+
os.environ["STREAMLIT_CONFIG_DIR"] = os.path.join(os.getcwd(), ".streamlit")
|
| 85 |
+
os.makedirs(os.environ["STREAMLIT_CONFIG_DIR"], exist_ok=True)
|
| 86 |
|
| 87 |
import streamlit as st
|
| 88 |
import random
|
| 89 |
import time
|
| 90 |
|
| 91 |
+
st.set_page_config(page_title="UZAIR FOREZ CLUB", layout="centered")
|
| 92 |
|
| 93 |
st.markdown(
|
| 94 |
"""
|