pschofield2 commited on
Commit
036e101
·
verified ·
1 Parent(s): 1e96b75

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -72,7 +72,7 @@ def fetch_news(ticker: str, api_key: str) -> str:
72
  else:
73
  return "Failed to fetch news articles."
74
 
75
- def format_for_gpt_prompt(financial_data: Dict[str, Any], proprietary_indicators: str) -> str:
76
  profile = financial_data.get('profile', {})
77
  balance_sheet = financial_data.get('balance_sheet', {})
78
  income_statement = financial_data.get('income_statement', {})
 
72
  else:
73
  return "Failed to fetch news articles."
74
 
75
+ def format_for_gpt_prompt(financial_data: Dict[str, Any], proprietary_indicators: str, news_data: str) -> str:
76
  profile = financial_data.get('profile', {})
77
  balance_sheet = financial_data.get('balance_sheet', {})
78
  income_statement = financial_data.get('income_statement', {})