tuge commited on
Commit
0c8206a
·
verified ·
1 Parent(s): c452770

Update sentiment_prompting.py

Browse files
Files changed (1) hide show
  1. sentiment_prompting.py +1 -1
sentiment_prompting.py CHANGED
@@ -93,7 +93,7 @@ with gr.Blocks() as app:
93
  with gr.Row():
94
  classify_btn = gr.Button(value="Classify all texts 🎯", variant="primary")
95
  stop_button = gr.Button(variant="stop", value="Stop")
96
- data_display = gr.DataFrame(df, label="Data", show_copy_button=True)
97
 
98
  with gr.Accordion(label="4. Evaluate"):
99
  score_display = gr.Textbox(label="Evaluation scores", lines=10, max_lines=20)
 
93
  with gr.Row():
94
  classify_btn = gr.Button(value="Classify all texts 🎯", variant="primary")
95
  stop_button = gr.Button(variant="stop", value="Stop")
96
+ data_display = gr.DataFrame(df, label="Data", buttons=["copy"])
97
 
98
  with gr.Accordion(label="4. Evaluate"):
99
  score_display = gr.Textbox(label="Evaluation scores", lines=10, max_lines=20)