acidtib commited on
Commit
fc10a8b
·
1 Parent(s): f3624f7

✨ feat: enhance Gradio UI with travel assistant title and info

Browse files
Files changed (1) hide show
  1. Gradio_UI.py +8 -2
Gradio_UI.py CHANGED
@@ -261,7 +261,13 @@ class GradioUI:
261
  def launch(self, **kwargs):
262
  import gradio as gr
263
 
264
- with gr.Blocks(fill_height=True) as demo:
 
 
 
 
 
 
265
  stored_messages = gr.State([])
266
  file_uploads_log = gr.State([])
267
  chatbot = gr.Chatbot(
@@ -283,7 +289,7 @@ class GradioUI:
283
  [upload_file, file_uploads_log],
284
  [upload_status, file_uploads_log],
285
  )
286
- text_input = gr.Textbox(lines=1, label="Chat Message")
287
  text_input.submit(
288
  self.log_user_message,
289
  [text_input, file_uploads_log],
 
261
  def launch(self, **kwargs):
262
  import gradio as gr
263
 
264
+ with gr.Blocks(title="Travel Planning Assistant", fill_height=True) as demo:
265
+ gr.Markdown(
266
+ """
267
+ # Travel Planning Assistant
268
+ I can help you plan your trips, find the best time to travel, and provide information about destinations. Ask me about travel costs, best seasons to visit, or specific routes!
269
+ """
270
+ )
271
  stored_messages = gr.State([])
272
  file_uploads_log = gr.State([])
273
  chatbot = gr.Chatbot(
 
289
  [upload_file, file_uploads_log],
290
  [upload_status, file_uploads_log],
291
  )
292
+ text_input = gr.Textbox(lines=1, label="Chat Message", placeholder="Ask me anything about travel, destinations, or trip planning...")
293
  text_input.submit(
294
  self.log_user_message,
295
  [text_input, file_uploads_log],