Create app.py
Browse files
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()
|