Update src/streamlit_app.py
Browse files- src/streamlit_app.py +0 -2
src/streamlit_app.py
CHANGED
|
@@ -3,8 +3,6 @@ import streamlit as st
|
|
| 3 |
|
| 4 |
# --- Streamlit safe options (prevents upload 403 / CORS issues) ---
|
| 5 |
st.set_option("client.showErrorDetails", True)
|
| 6 |
-
st.set_option("server.enableXsrfProtection", False)
|
| 7 |
-
st.set_option("server.enableCORS", True)
|
| 8 |
|
| 9 |
# ---------------------------
|
| 10 |
# Cache Fix for Hugging Face
|
|
|
|
| 3 |
|
| 4 |
# --- Streamlit safe options (prevents upload 403 / CORS issues) ---
|
| 5 |
st.set_option("client.showErrorDetails", True)
|
|
|
|
|
|
|
| 6 |
|
| 7 |
# ---------------------------
|
| 8 |
# Cache Fix for Hugging Face
|