Gainward777 commited on
Commit
47124c6
·
verified ·
1 Parent(s): c2960cc

Update ui/gradio_ui.py

Browse files
Files changed (1) hide show
  1. ui/gradio_ui.py +2 -1
ui/gradio_ui.py CHANGED
@@ -33,7 +33,8 @@ def ui():
33
  with gr.Column(scale = 200):
34
  chatbot = gr.Chatbot(height=505)
35
  with gr.Row():
36
- msg = gr.Textbox(placeholder="Ask a question", sample_inputs=["what's anarchy ? "], container=True)
 
37
  with gr.Row():
38
  submit_btn = gr.Button("Submit")
39
  clear_btn = gr.ClearButton([msg, chatbot], value="Clear")
 
33
  with gr.Column(scale = 200):
34
  chatbot = gr.Chatbot(height=505)
35
  with gr.Row():
36
+ msg = gr.Textbox(placeholder="Ask a question", container=True)
37
+ gr.Examples([["Chicago"], ["Little Rock"], ["San Francisco"]], msg)
38
  with gr.Row():
39
  submit_btn = gr.Button("Submit")
40
  clear_btn = gr.ClearButton([msg, chatbot], value="Clear")