dfasd commited on
Commit
875f069
·
verified ·
1 Parent(s): d121c54

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -112,4 +112,7 @@ def dbcreate():
112
  import gradio as gr
113
  chatbot = gr.Chatbot(avatar_images=["user.png", "bot.jpg"], height=600)
114
  clear_but = gr.Button(value="Clear Chat")
115
- demo = gr.ChatInterface(fn=search, title="Mediate.com Chatbot Prototype", multimodal=False, retry_btn=None, undo_btn=None, clear_btn=clear_but, chatbot=chatbot)
 
 
 
 
112
  import gradio as gr
113
  chatbot = gr.Chatbot(avatar_images=["user.png", "bot.jpg"], height=600)
114
  clear_but = gr.Button(value="Clear Chat")
115
+ demo = gr.ChatInterface(fn=search, title="Mediate.com Chatbot Prototype", multimodal=False, retry_btn=None, undo_btn=None, clear_btn=clear_but, chatbot=chatbot)
116
+
117
+ if __name__ == "__main__":
118
+ demo.launch(debug=True)