Chatbot / app.py
cellanet's picture
Create app.py
9c14423
raw
history blame
255 Bytes
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()