Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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', {})
|