Spaces:
Sleeping
Sleeping
Merge pull request #4 from Youranalyst-coder/pr/disable-streamlit-watcher
Browse files- .streamlit/config.toml +14 -0
.streamlit/config.toml
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[server]
|
| 2 |
+
# Run Streamlit in headless mode on port 8501 (Cloud / container friendly)
|
| 3 |
+
headless = true
|
| 4 |
+
port = 8501
|
| 5 |
+
|
| 6 |
+
# Disable the developer auto-reloader / file watcher to avoid hitting inotify limits
|
| 7 |
+
runOnSave = false
|
| 8 |
+
|
| 9 |
+
# Production-friendly defaults
|
| 10 |
+
enableCORS = false
|
| 11 |
+
|
| 12 |
+
# Optional: if your Streamlit version supports it you can set the watcher type.
|
| 13 |
+
# Uncomment only if supported by your Streamlit version:
|
| 14 |
+
# fileWatcherType = "none"
|