Spaces:
Sleeping
Sleeping
Create .streamlit/config.toml
Browse files- .streamlit/config.toml +21 -0
.streamlit/config.toml
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[server]
|
2 |
+
# Increase file upload limits (in MB)
|
3 |
+
maxUploadSize = 50
|
4 |
+
maxMessageSize = 50
|
5 |
+
|
6 |
+
# CORS and security settings for Hugging Face
|
7 |
+
enableCORS = false
|
8 |
+
enableXsrfProtection = false
|
9 |
+
enableStaticServing = true
|
10 |
+
|
11 |
+
# Server settings
|
12 |
+
port = 7860
|
13 |
+
headless = true
|
14 |
+
|
15 |
+
[browser]
|
16 |
+
# Disable usage stats collection
|
17 |
+
gatherUsageStats = false
|
18 |
+
|
19 |
+
[client]
|
20 |
+
# Show error details
|
21 |
+
showErrorDetails = true
|