File size: 335 Bytes
b28f06f
87df5c7
d5f1ff9
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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()