TheSimpsons / chatbot.py
NicoGargano's picture
Upload 5 files
312c075
raw
history blame contribute delete
245 Bytes
import gradio as gr
def chatbot(input_text):
# Use YouChat to process the input and generate a response
response = youchat.process(input_text)
return response
iface = gr.Interface(fn=chatbot, inputs="text", outputs="text")
iface.launch()