Spaces:
Sleeping
Sleeping
Create .streamlit/config.toml
Browse files- .streamlit/config.toml +10 -0
.streamlit/config.toml
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[server]
|
| 2 |
+
headless = true # Recommended for Spaces
|
| 3 |
+
enableCORS = false # Recommended for Spaces
|
| 4 |
+
enableXsrfProtection = false # Recommended for Spaces
|
| 5 |
+
|
| 6 |
+
[global]
|
| 7 |
+
dataFrameSerialization = "legacy" # Prevents potential future warnings with Pandas
|
| 8 |
+
|
| 9 |
+
[browser]
|
| 10 |
+
gatherUsageStats = false # This is CRUCIAL for fixing the /.streamlit permission error
|