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()