cellanet commited on
Commit
9c14423
1 Parent(s): 06a3750

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -0
app.py ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+ from chatbot import onlineChat
3
+
4
+
5
+ demo = gr.Interface(fn=onlineChat, inputs=gr.Textbox(lines=2, placeholder="Enter your question here...", label='Question (enter "quit" to stop)'), outputs="text")
6
+ demo.launch(share=True)
7
+ # demo.launch()