Gainward777 commited on
Commit
c2960cc
·
verified ·
1 Parent(s): 07d1a40

Update ui/gradio_ui.py

Browse files
Files changed (1) hide show
  1. ui/gradio_ui.py +1 -1
ui/gradio_ui.py CHANGED
@@ -33,7 +33,7 @@ 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", container=True), examples=[["what's anarchy ? "]],)
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", 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")