Akjava commited on
Commit
7687287
·
verified ·
1 Parent(s): 19c4612

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -98,7 +98,7 @@ with gr.Blocks() as demo:
98
  clear = gr.ClearButton([msg, chatbot])
99
 
100
  #demo = gr.ChatInterface(call_generate_text,chatbot=chatbot,type="messages")
101
- msg.submit(respond, [msg, chatbot], [msg, chatbot])
102
 
103
  if __name__ == "__main__":
104
  init()
 
98
  clear = gr.ClearButton([msg, chatbot])
99
 
100
  #demo = gr.ChatInterface(call_generate_text,chatbot=chatbot,type="messages")
101
+ msg.submit(call_generate_text, [msg, chatbot], [msg, chatbot])
102
 
103
  if __name__ == "__main__":
104
  init()