pschofield2 commited on
Commit
e1a4603
·
verified ·
1 Parent(s): 14e4d5f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -247,6 +247,7 @@ Finally, it is critically important that you comply with the legal guideline of
247
  time.sleep(0.07)
248
 
249
  def analyze_stock(ticker: str):
 
250
  fmp_api_key = os.getenv('FMP_API_KEY')
251
  openai_api_key = os.getenv('OPENAI_API_KEY')
252
  prompt = generate_gpt_prompt(ticker, fmp_api_key)
 
247
  time.sleep(0.07)
248
 
249
  def analyze_stock(ticker: str):
250
+ ticker = ticker.upper()
251
  fmp_api_key = os.getenv('FMP_API_KEY')
252
  openai_api_key = os.getenv('OPENAI_API_KEY')
253
  prompt = generate_gpt_prompt(ticker, fmp_api_key)