Spaces:
Runtime error
Runtime error
Commit
·
43a1264
1
Parent(s):
62d8e7b
Update app.py
Browse files
app.py
CHANGED
|
@@ -54,7 +54,7 @@ llm = HuggingFaceHub(repo_id="mistralai/Mistral-7B-v0.1", model_kwargs={"tempera
|
|
| 54 |
|
| 55 |
# qachain=RetrievalQA.from_chain_type(llm, retriever=vectorstore.as_retriever(), memory=memory, chain_type_kwargs=chain_type_kwargs)
|
| 56 |
|
| 57 |
-
llm_chain = LLMChain(prompt=
|
| 58 |
|
| 59 |
st.header("#CodeWars localGPT", divider='rainbow')
|
| 60 |
|
|
|
|
| 54 |
|
| 55 |
# qachain=RetrievalQA.from_chain_type(llm, retriever=vectorstore.as_retriever(), memory=memory, chain_type_kwargs=chain_type_kwargs)
|
| 56 |
|
| 57 |
+
llm_chain = LLMChain(prompt=PROMPT , llm=llm)
|
| 58 |
|
| 59 |
st.header("#CodeWars localGPT", divider='rainbow')
|
| 60 |
|