Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -208,7 +208,7 @@ def analyze_stock(ticker: str) -> str:
|
|
| 208 |
openai_api_key = os.getenv('OPENAI_API_KEY')
|
| 209 |
prompt = generate_gpt_prompt(ticker, fmp_api_key)
|
| 210 |
analysis = run_gpt_model(prompt, openai_api_key)
|
| 211 |
-
|
| 212 |
|
| 213 |
description = """We gave Ann-E a name, but not a personality. It's time to change that!
|
| 214 |
|
|
|
|
| 208 |
openai_api_key = os.getenv('OPENAI_API_KEY')
|
| 209 |
prompt = generate_gpt_prompt(ticker, fmp_api_key)
|
| 210 |
analysis = run_gpt_model(prompt, openai_api_key)
|
| 211 |
+
yield prompt, analysis
|
| 212 |
|
| 213 |
description = """We gave Ann-E a name, but not a personality. It's time to change that!
|
| 214 |
|