Spaces:
Running
Running
Add .streamlit configuration to suppress secrets warnings
Browse files- .streamlit/config.toml +16 -0
- .streamlit/secrets.toml +7 -0
.streamlit/config.toml
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[logger]
|
2 |
+
level = "error" # Only show error level logs
|
3 |
+
|
4 |
+
[server]
|
5 |
+
enableStaticServing = true
|
6 |
+
enableCORS = false
|
7 |
+
enableXsrfProtection = false
|
8 |
+
headless = true
|
9 |
+
runOnSave = true
|
10 |
+
|
11 |
+
[theme]
|
12 |
+
primaryColor = "#ff4500" # Reddit orange
|
13 |
+
backgroundColor = "#ffffff"
|
14 |
+
secondaryBackgroundColor = "#f5f5f5"
|
15 |
+
textColor = "#262730"
|
16 |
+
font = "sans serif"
|
.streamlit/secrets.toml
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Placeholder secrets file to prevent warnings
|
2 |
+
# Add actual secrets through the Hugging Face Spaces interface
|
3 |
+
|
4 |
+
# Reddit API credentials
|
5 |
+
# REDDIT_CLIENT_ID = ""
|
6 |
+
# REDDIT_CLIENT_SECRET = ""
|
7 |
+
# REDDIT_USER_AGENT = "RedditScraperApp/1.0"
|