Spaces:
Runtime error
Runtime error
Update core/market_stock_sentiment.py
Browse files
core/market_stock_sentiment.py
CHANGED
|
@@ -9,7 +9,7 @@ from GoogleNews import GoogleNews
|
|
| 9 |
from langchain_core.prompts import PromptTemplate
|
| 10 |
# New, correct imports:
|
| 11 |
from langchain.chains import LLMChain
|
| 12 |
-
from langchain.chains.combine_documents import StuffDocumentsChain
|
| 13 |
|
| 14 |
def clean_google_news_url(url: str):
|
| 15 |
for ext in [".html", ".cms"]:
|
|
|
|
| 9 |
from langchain_core.prompts import PromptTemplate
|
| 10 |
# New, correct imports:
|
| 11 |
from langchain.chains import LLMChain
|
| 12 |
+
from langchain.chains.combine_documents.stuff import StuffDocumentsChain
|
| 13 |
|
| 14 |
def clean_google_news_url(url: str):
|
| 15 |
for ext in [".html", ".cms"]:
|