Spaces:
Runtime error
Runtime error
Update main.py
Browse files
main.py
CHANGED
@@ -5,6 +5,9 @@ from langchain.document_loaders import WebBaseLoader
|
|
5 |
from langchain.chains.summarize import load_summarize_chain
|
6 |
from langchain import HuggingFaceHub
|
7 |
from huggingface_hub import InferenceClient
|
|
|
|
|
|
|
8 |
|
9 |
load_dotenv()
|
10 |
hf_token = os.environ.get('HUGGINGFACEHUB_API_TOKEN')
|
|
|
5 |
from langchain.chains.summarize import load_summarize_chain
|
6 |
from langchain import HuggingFaceHub
|
7 |
from huggingface_hub import InferenceClient
|
8 |
+
#from bs4 import BeautifulSoup
|
9 |
+
import requests
|
10 |
+
import sys
|
11 |
|
12 |
load_dotenv()
|
13 |
hf_token = os.environ.get('HUGGINGFACEHUB_API_TOKEN')
|