Spaces:
Runtime error
Runtime error
Commit
·
07e3930
1
Parent(s):
3a51365
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ from langchain.text_splitter import CharacterTextSplitter
|
|
6 |
from langchain.document_loaders import TextLoader
|
7 |
from langchain.chains import RetrievalQA
|
8 |
import os
|
9 |
-
llm = HuggingFaceHub(repo_id="
|
10 |
embeddings = HuggingFaceEmbeddings()
|
11 |
loader = TextLoader('us.txt')
|
12 |
documents = loader.load()
|
|
|
6 |
from langchain.document_loaders import TextLoader
|
7 |
from langchain.chains import RetrievalQA
|
8 |
import os
|
9 |
+
llm = HuggingFaceHub(repo_id="HuggingFaceH4/zephyr-7b-beta")
|
10 |
embeddings = HuggingFaceEmbeddings()
|
11 |
loader = TextLoader('us.txt')
|
12 |
documents = loader.load()
|