File size: 542 Bytes
6ce20d9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
c8344df
6ce20d9
c8344df
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/env python3
"""
FRED ML - Economic Analytics Platform
Streamlit Cloud Deployment Entry Point
"""

import sys
import os

# Add the frontend directory to the path
current_dir = os.path.dirname(os.path.abspath(__file__))
frontend_dir = os.path.join(current_dir, 'frontend')
if frontend_dir not in sys.path:
    sys.path.insert(0, frontend_dir)

# Import and run the main app
import app

# The app.py file already has the main() function and runs it when __name__ == "__main__"
# We just need to import it to trigger the Streamlit app