File size: 255 Bytes
9c14423
 
 
 
 
 
 
1
2
3
4
5
6
7
import gradio as gr
from chatbot import onlineChat


demo = gr.Interface(fn=onlineChat, inputs=gr.Textbox(lines=2, placeholder="Enter your question here...", label='Question (enter "quit" to stop)'), outputs="text")
demo.launch(share=True)
# demo.launch()