Spaces:
Sleeping
Sleeping
sanjeevl10
commited on
Commit
•
7ba5c94
1
Parent(s):
06ac53c
Removed .env references
Browse files
app.py
CHANGED
@@ -34,8 +34,12 @@ import matplotlib.pyplot as plt
|
|
34 |
from langgraph.checkpoint.memory import MemorySaver
|
35 |
|
36 |
load_dotenv()
|
|
|
|
|
|
|
37 |
OPENAI_API_KEY = os.environ["OPENAI_API_KEY"]
|
38 |
|
|
|
39 |
from GoogleNews import GoogleNews
|
40 |
|
41 |
def search_news(stockticker):
|
|
|
34 |
from langgraph.checkpoint.memory import MemorySaver
|
35 |
|
36 |
load_dotenv()
|
37 |
+
HF_ACCESS_TOKEN = os.environ["HF_ACCESS_TOKEN"]
|
38 |
+
DAYS_TO_FETCH_NEWS = os.environ["DAYS_TO_FETCH_NEWS"]
|
39 |
+
NO_OF_NEWS_ARTICLES_TO_FETCH = os.environ["NO_OF_NEWS_ARTICLES_TO_FETCH"]
|
40 |
OPENAI_API_KEY = os.environ["OPENAI_API_KEY"]
|
41 |
|
42 |
+
|
43 |
from GoogleNews import GoogleNews
|
44 |
|
45 |
def search_news(stockticker):
|