File size: 573 Bytes
8120181 6922b6c 8120181 d77de1d 6a1b259 8120181 6a1b259 d77de1d 6a1b259 8120181 6a1b259 8120181 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
import gradio as gr
from agent import get_itinerary
with gr.Blocks(fill_height=True) as demo:
gr.Markdown("""
# Travel Itinerary Planner Agent
Welcome to the Travel Itinerary Planner Agent! This application helps you plan your travel itineraries effortlessly.
Simply provide your preferences and details, and the agent will generate a personalized travel plan for you.
""")
gr.ChatInterface(
get_itinerary,
type="messages",
cache_mode="lazy"
)
if __name__ == "__main__":
demo.queue(max_size=3)
demo.launch()
|