Remove FRED API key debug message from UI and fix Streamlit Cloud deployment
Browse files- README.md +0 -9
- frontend/app.py +0 -3
- streamlit_app.py +2 -2
README.md
CHANGED
|
@@ -98,15 +98,6 @@ FRED_ML/
|
|
| 98 |
1. **Clone the repository**
|
| 99 |
You can clone from any of the following remotes:
|
| 100 |
```bash
|
| 101 |
-
# EAName GitHub
|
| 102 |
-
git clone https://github.com/EAName/FREDML.git
|
| 103 |
-
|
| 104 |
-
# ParallelLLC GitHub
|
| 105 |
-
git clone https://github.com/ParallelLLC/FREDML.git
|
| 106 |
-
|
| 107 |
-
# esalguero Hugging Face
|
| 108 |
-
git clone https://huggingface.co/esalguero/FREDML
|
| 109 |
-
|
| 110 |
# ParallelLLC Hugging Face
|
| 111 |
git clone https://huggingface.co/ParallelLLC/FREDML
|
| 112 |
```
|
|
|
|
| 98 |
1. **Clone the repository**
|
| 99 |
You can clone from any of the following remotes:
|
| 100 |
```bash
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 101 |
# ParallelLLC Hugging Face
|
| 102 |
git clone https://huggingface.co/ParallelLLC/FREDML
|
| 103 |
```
|
frontend/app.py
CHANGED
|
@@ -432,9 +432,6 @@ def main():
|
|
| 432 |
st.info("Get a free FRED API key at: https://fred.stlouisfed.org/docs/api/api_key.html")
|
| 433 |
st.stop()
|
| 434 |
|
| 435 |
-
# Add debug print
|
| 436 |
-
st.write(f"🔑 FRED API Key loaded: {fred_key[:8]}...")
|
| 437 |
-
|
| 438 |
# Show loading indicator
|
| 439 |
with st.spinner("🚀 Initializing FRED ML Platform..."):
|
| 440 |
# Load configuration
|
|
|
|
| 432 |
st.info("Get a free FRED API key at: https://fred.stlouisfed.org/docs/api/api_key.html")
|
| 433 |
st.stop()
|
| 434 |
|
|
|
|
|
|
|
|
|
|
| 435 |
# Show loading indicator
|
| 436 |
with st.spinner("🚀 Initializing FRED ML Platform..."):
|
| 437 |
# Load configuration
|
streamlit_app.py
CHANGED
|
@@ -22,5 +22,5 @@ if not fred_key:
|
|
| 22 |
# 4) Import and run your real app
|
| 23 |
from frontend.app import main as app_main
|
| 24 |
|
| 25 |
-
|
| 26 |
-
|
|
|
|
| 22 |
# 4) Import and run your real app
|
| 23 |
from frontend.app import main as app_main
|
| 24 |
|
| 25 |
+
# Call the main function directly for Streamlit Cloud
|
| 26 |
+
app_main()
|