Spaces:
Runtime error
Runtime error
Paul-Joshi
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ from langchain_community.llms import HuggingFaceHub
|
|
11 |
# from langchain_core.prompts import ChatPromptTemplate
|
12 |
|
13 |
|
14 |
-
def method_get_website_text(
|
15 |
# Convert string of URLs to list
|
16 |
urls_list = urls.split("\n")
|
17 |
docs = [WebBaseLoader(url).load() for url in urls_list]
|
|
|
11 |
# from langchain_core.prompts import ChatPromptTemplate
|
12 |
|
13 |
|
14 |
+
def method_get_website_text(urls):
|
15 |
# Convert string of URLs to list
|
16 |
urls_list = urls.split("\n")
|
17 |
docs = [WebBaseLoader(url).load() for url in urls_list]
|