Spaces:
Runtime error
Runtime error
import gradio as gr | |
def chatbot_response(text): | |
# Placeholder for actual AI logic | |
return f"You said: {text}" | |
# Create Gradio interface | |
gr.Interface( | |
fn=chatbot_response, | |
inputs="text", | |
outputs="text", | |
title="Hotel Booking Voice AI Chatbot", | |
description="Ask anything related to hotel booking", | |
).launch() | |