Spaces:
Runtime error
Runtime error
Commit
•
6b30c3a
1
Parent(s):
0f3140b
Upload app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ from langchain.vectorstores import FAISS
|
|
11 |
from langchain.memory import ConversationBufferMemory
|
12 |
|
13 |
|
14 |
-
urllib.request.urlretrieve("https://huggingface.co/TheBloke/Llama-2-7B-GGML/resolve/main/llama-2-7b
|
15 |
|
16 |
loader = DirectoryLoader('data/',glob="*.pdf",loader_cls=PyPDFLoader)
|
17 |
documents = loader.load()
|
|
|
11 |
from langchain.memory import ConversationBufferMemory
|
12 |
|
13 |
|
14 |
+
urllib.request.urlretrieve("https://huggingface.co/TheBloke/Llama-2-7B-GGML/resolve/main/llama-2-7b.ggmlv3.q2_K.bin","llama-2-7b-chat.ggmlv3.q2_K.bin")
|
15 |
|
16 |
loader = DirectoryLoader('data/',glob="*.pdf",loader_cls=PyPDFLoader)
|
17 |
documents = loader.load()
|