kingabzpro commited on
Commit
ae9c57d
·
1 Parent(s): ff88aac

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -37,5 +37,5 @@ def predict(input, history=[]):
37
 
38
  return response, history
39
 
40
- gr.Interface(predict,input = "textbox", output = "chatbot",theme ="grass", title = title, flagging_callback=hf_writer,description = description, article = article).launch(enable_queue=True) # customizes the input component
41
 
 
37
 
38
  return response, history
39
 
40
+ gr.Interface(fn= predict,inputs = "textbox", outputs = "chatbot", theme ="grass", title = title, flagging_callback=hf_writer,description = description, article = article).launch(enable_queue=True) # customizes the input component
41