Tag8_BOT / app.py
Rafe2001's picture
Create app.py
b2b87f5
Raw History Blame Contribute Delete
307 Bytes
import gradio as gr
def chatbot_query(query):
response = query_engine.query(query)
return response
face = gr.Interface(
fn=chatbot_query,
inputs=gr.Textbox(prompt="Ask me anything:"),
outputs=gr.Textbox(),
live= False,
capture_session=True,
theme="compact"
)
face.launch()