Aswin Candra commited on
Commit
2e562ea
·
1 Parent(s): 1965ec1

add copy button

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -196,11 +196,11 @@ with gr.Blocks() as demo:
196
  with gr.Column(scale=1):
197
  trend_summary = gr.Textbox(label='Trend Summary')
198
  with gr.Tab("Draft 1"):
199
- ver_1 = gr.Textbox(lines=10, show_copy_button=True, show_label=False)
200
  with gr.Tab("Draft 2"):
201
- ver_2 = gr.Textbox(lines=10, show_copy_button=True, show_label=False)
202
  with gr.Tab("Draft 3"):
203
- ver_3 = gr.Textbox(lines=10, show_copy_button=True, show_label=False)
204
 
205
 
206
  btn_fetch_trend.click(dropdown_trend, inputs=[year_txt, month_txt, date_txt], outputs=[trend_options, trend_res])
 
196
  with gr.Column(scale=1):
197
  trend_summary = gr.Textbox(label='Trend Summary')
198
  with gr.Tab("Draft 1"):
199
+ ver_1 = gr.Textbox(lines=10, show_copy_button=True)
200
  with gr.Tab("Draft 2"):
201
+ ver_2 = gr.Textbox(lines=10, show_copy_button=True)
202
  with gr.Tab("Draft 3"):
203
+ ver_3 = gr.Textbox(lines=10, show_copy_button=True)
204
 
205
 
206
  btn_fetch_trend.click(dropdown_trend, inputs=[year_txt, month_txt, date_txt], outputs=[trend_options, trend_res])