Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -36,8 +36,8 @@ docsearch.save_local(DB_FAISS_PATH)
|
|
36 |
|
37 |
from transformers import pipeline
|
38 |
|
39 |
-
pipe = pipeline("text-generation",model="meta-llama/Llama-2-7b-chat-hf",model_type="llama",max_new_tokens=512,temperature=0.1
|
40 |
-
|
41 |
qa = ConversationalRetrievalChain.from_llm(llm, retriever=docsearch.as_retriever())
|
42 |
|
43 |
while True:
|
|
|
36 |
|
37 |
from transformers import pipeline
|
38 |
|
39 |
+
pipe = pipeline("text-generation",model="meta-llama/Llama-2-7b-chat-hf",model_type="llama",max_new_tokens=512,temperature=0.1 )
|
40 |
+
|
41 |
qa = ConversationalRetrievalChain.from_llm(llm, retriever=docsearch.as_retriever())
|
42 |
|
43 |
while True:
|