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