AminFaraji commited on
Commit
3bbb09b
·
verified ·
1 Parent(s): 8665c72

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
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
- #res = chain(query_text)
238
- #return(res["response"])
 
 
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