Spaces:
Running
Running
Upload 2 files
Browse files- .streamlit/config.toml +21 -0
- .streamlit/secrets.toml.example +4 -0
.streamlit/config.toml
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Streamlit theme configuration
|
| 2 |
+
|
| 3 |
+
# Note: These theme settings apply to local development only.
|
| 4 |
+
# When deployed to Hugging Face Spaces, the theme will be determined by
|
| 5 |
+
# the 'colorFrom'/'colorTo' settings in the README.md file.
|
| 6 |
+
|
| 7 |
+
[theme]
|
| 8 |
+
primaryColor = "#5867FF" # Local button color
|
| 9 |
+
backgroundColor = "#FFFFFF"
|
| 10 |
+
secondaryBackgroundColor = "#F0F2F6"
|
| 11 |
+
textColor = "#262730"
|
| 12 |
+
font = "sans serif"
|
| 13 |
+
|
| 14 |
+
# Server configuration
|
| 15 |
+
[server]
|
| 16 |
+
enableCORS = false
|
| 17 |
+
enableXsrfProtection = true
|
| 18 |
+
|
| 19 |
+
# Logger configuration
|
| 20 |
+
[logger]
|
| 21 |
+
level = "info"
|
.streamlit/secrets.toml.example
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# API Keys - replace with your actual keys
|
| 2 |
+
OPENAI_API_KEY = "your-openai-key-here"
|
| 3 |
+
NEWS_API_KEY = "your-news-api-key-here"
|
| 4 |
+
FACTCHECK_API_KEY = "your-factcheck-api-key-here"
|