Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -225,7 +225,7 @@ def get_llama_response(message: str, history: list) -> str:
|
|
225 |
|
226 |
#print(template)
|
227 |
chain.prompt=prompt
|
228 |
-
res = chain(query_text)
|
229 |
|
230 |
return(res['response'])
|
231 |
|
|
|
225 |
|
226 |
#print(template)
|
227 |
chain.prompt=prompt
|
228 |
+
res = chain.invoke(query_text)
|
229 |
|
230 |
return(res['response'])
|
231 |
|