fdaudens HF staff commited on
Commit
8df7869
·
verified ·
1 Parent(s): f387a3a

Update Gradio_UI.py

Browse files
Files changed (1) hide show
  1. Gradio_UI.py +7 -1
Gradio_UI.py CHANGED
@@ -262,6 +262,12 @@ class GradioUI:
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],
 
262
  import gradio as gr
263
 
264
  with gr.Blocks(fill_height=True) as demo:
265
+ gr.Markdown(
266
+ """
267
+ # 🐶 Your News Agent
268
+ Stay up-to-date with the latest news on any topic.
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="Ask me about any news topic")
293
  text_input.submit(
294
  self.log_user_message,
295
  [text_input, file_uploads_log],