JayLacoma commited on
Commit
92e5c7c
·
verified ·
1 Parent(s): 5672dc9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -7,7 +7,7 @@ from geo_macro import UnifiedMarketDataDownloader
7
  from feature_engineering import IntegratedTheoryFeatures
8
 
9
  # Get FRED API key from environment (set in HF Spaces secrets)
10
- FRED_API_KEY = os.getenv("FRED_API_KEY", "")
11
 
12
  def run_pipeline(days_back=1825): # ~5 years
13
  try:
@@ -16,7 +16,7 @@ def run_pipeline(days_back=1825): # ~5 years
16
  start_str = start_date.strftime('%Y-%m-%d')
17
  end_str = pd.Timestamp.today().strftime('%Y-%m-%d')
18
 
19
- downloader = UnifiedMarketDataDownloader(fred_api_key=FRED_API_KEY)
20
  df = downloader.download_all_data(start_date=start_str, end_date=end_str)
21
 
22
  # Run feature engineering
 
7
  from feature_engineering import IntegratedTheoryFeatures
8
 
9
  # Get FRED API key from environment (set in HF Spaces secrets)
10
+
11
 
12
  def run_pipeline(days_back=1825): # ~5 years
13
  try:
 
16
  start_str = start_date.strftime('%Y-%m-%d')
17
  end_str = pd.Timestamp.today().strftime('%Y-%m-%d')
18
 
19
+ downloader = UnifiedMarketDataDownloader()
20
  df = downloader.download_all_data(start_date=start_str, end_date=end_str)
21
 
22
  # Run feature engineering