rupt123 commited on
Commit
91db256
·
verified ·
1 Parent(s): 818f053

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -221,11 +221,11 @@ def get_technical_analysis(ticker: str, period: str = "1mo") -> pd.DataFrame:
221
  import requests
222
  import pandas as pd
223
  import os
224
- from google.colab import output
225
 
226
  # Retrieve API key
227
  @tool
228
- def get_stock_news(query: str, limit: int = 10, api_key: str = "488e80d0ecb2485ca8f0f824cd9f7360") -> pd.DataFrame:
229
  """
230
  Fetches recent news articles related to a specific stock using NewsAPI.
231
 
 
221
  import requests
222
  import pandas as pd
223
  import os
224
+ #from google.colab import output
225
 
226
  # Retrieve API key
227
  @tool
228
+ def get_stock_news(query: str, limit: int = 10, api_key: str = "26d4fec27a7f4f28b17c791b653e25b3") -> pd.DataFrame:
229
  """
230
  Fetches recent news articles related to a specific stock using NewsAPI.
231