raminass commited on
Commit
b3db23e
·
verified ·
1 Parent(s): bbafc2b

fix errors

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -86,7 +86,11 @@ with gr.Blocks() as demo:
86
  op_level = gr.Label(
87
  num_top_classes=9, label="Predicted author of opinion"
88
  )
89
- output_textbox = gr.Textbox(label="Output Text", show_copy_button=True)
 
 
 
 
90
  info_textbox = gr.Textbox(
91
  value=paragraph_text,
92
  label="Additional Insights",
 
86
  op_level = gr.Label(
87
  num_top_classes=9, label="Predicted author of opinion"
88
  )
89
+ output_textbox = gr.Textbox(
90
+ label="Output Text",
91
+ buttons=["copy"], # shows a copy button
92
+ )
93
+
94
  info_textbox = gr.Textbox(
95
  value=paragraph_text,
96
  label="Additional Insights",