kanli commited on
Commit
033b8bd
·
1 Parent(s): ac15835

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,5 +19,5 @@ def predict(input, history=[]):
19
  response = [(response[i], response[i + 1]) for i in range(0,len(response) - 1, 2)]
20
  # convert to tuples of list
21
  # print('response-->>'+str(response))
22
- return response, historygr
23
  gradio.Interface(fn=predict,title=title,description=description,examples=examples,inputs=["text", "state"],outputs=["chatbot", "state"],theme="finlaymacklon/boxy_violet",).launch()
 
19
  response = [(response[i], response[i + 1]) for i in range(0,len(response) - 1, 2)]
20
  # convert to tuples of list
21
  # print('response-->>'+str(response))
22
+ return response, history
23
  gradio.Interface(fn=predict,title=title,description=description,examples=examples,inputs=["text", "state"],outputs=["chatbot", "state"],theme="finlaymacklon/boxy_violet",).launch()