haohsiang commited on
Commit
0ab99b8
Β·
verified Β·
1 Parent(s): ef965b1

add copy all button to chatbot interface

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -298,7 +298,7 @@ with gr.Blocks(theme=theme, css=css, title='η™‚η™’ε°θ©±ζ©Ÿε™¨δΊΊ') as demo:
298
 
299
  with gr.Row() as main_interface:
300
  with gr.Column() as chatbot_interface:
301
- chatbot = gr.Chatbot(label="θŠε€©ζ©Ÿε™¨δΊΊ", show_share_button=False, bubble_full_width=False, layout='bubble', scale=6)
302
  msg = gr.Textbox(show_label=False, placeholder="δ»Šε€©ζƒ³θ¦θ·Ÿζˆ‘εˆ†δΊ«δ»€ιΊΌε‘’οΌŸ", autofocus=True, scale=2)
303
  with gr.Row():
304
  submit = gr.Button("送出", variant="primary", scale=2)
 
298
 
299
  with gr.Row() as main_interface:
300
  with gr.Column() as chatbot_interface:
301
+ chatbot = gr.Chatbot(label="θŠε€©ζ©Ÿε™¨δΊΊ", show_share_button=False, bubble_full_width=False, show_copy_all_button=True, layout='bubble', scale=6)
302
  msg = gr.Textbox(show_label=False, placeholder="δ»Šε€©ζƒ³θ¦θ·Ÿζˆ‘εˆ†δΊ«δ»€ιΊΌε‘’οΌŸ", autofocus=True, scale=2)
303
  with gr.Row():
304
  submit = gr.Button("送出", variant="primary", scale=2)