Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -36,7 +36,7 @@ docsearch.save_local(DB_FAISS_PATH)
|
|
36 |
|
37 |
from transformers import pipeline
|
38 |
|
39 |
-
pipe = pipeline("text-generation",model="
|
40 |
|
41 |
qa = ConversationalRetrievalChain.from_llm(llm, retriever=docsearch.as_retriever())
|
42 |
|
|
|
36 |
|
37 |
from transformers import pipeline
|
38 |
|
39 |
+
pipe = pipeline("text-generation",model="mistralai/Mistral-7B-v0.1",model_type="llama",max_new_tokens=512,temperature=0.1 )
|
40 |
|
41 |
qa = ConversationalRetrievalChain.from_llm(llm, retriever=docsearch.as_retriever())
|
42 |
|