rajsinghparihar commited on
Commit
d77de1d
·
1 Parent(s): fda106f

fixed chatbot height issue

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -1,7 +1,7 @@
1
  import gradio as gr
2
  from agent import get_itinerary
3
 
4
- with gr.Blocks() as demo:
5
  gr.Markdown("""
6
  # Travel Itinerary Planner Agent
7
 
@@ -10,7 +10,8 @@ with gr.Blocks() as demo:
10
  """)
11
  gr.ChatInterface(
12
  get_itinerary,
13
- type="messages"
 
14
  )
15
 
16
 
 
1
  import gradio as gr
2
  from agent import get_itinerary
3
 
4
+ with gr.Blocks(fill_height=True) as demo:
5
  gr.Markdown("""
6
  # Travel Itinerary Planner Agent
7
 
 
10
  """)
11
  gr.ChatInterface(
12
  get_itinerary,
13
+ type="messages",
14
+ cache_mode="lazy"
15
  )
16
 
17