Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -234,8 +234,10 @@ def get_llama_response(message: str, history: list) -> str:
|
|
234 |
#print(template)
|
235 |
#print('the answer is',chain(query_text))
|
236 |
chain.prompt=prompt
|
237 |
-
|
238 |
-
|
|
|
|
|
239 |
|
240 |
import gradio as gr
|
241 |
|
|
|
234 |
#print(template)
|
235 |
#print('the answer is',chain(query_text))
|
236 |
chain.prompt=prompt
|
237 |
+
print('prompt set')
|
238 |
+
res = chain(query_text)
|
239 |
+
print('answer generated')
|
240 |
+
return(res["response"])
|
241 |
|
242 |
import gradio as gr
|
243 |
|