pschofield2 commited on
Commit
1d70c03
·
verified ·
1 Parent(s): 5c8fe22

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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
- return prompt, analysis
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