Di12 commited on
Commit
f61bfca
·
verified ·
1 Parent(s): ced8164

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -276,7 +276,9 @@ with gr.Blocks() as demo:
276
  predict_button = gr.Button("Dự đoán")
277
  output_table = gr.Dataframe(headers=["Comment", "Dự đoán", 'Khả năng tiêu cực', 'Khả năng bình thường', 'Khả năng tích cực'],
278
  interactive=False,
279
- max_chars=60)
 
 
280
 
281
  predict_button.click(
282
  fn=process_input,
 
276
  predict_button = gr.Button("Dự đoán")
277
  output_table = gr.Dataframe(headers=["Comment", "Dự đoán", 'Khả năng tiêu cực', 'Khả năng bình thường', 'Khả năng tích cực'],
278
  interactive=False,
279
+ wrap=True,
280
+ max_chars=60,
281
+ column_widths=["50%", "15%", "11.6%", "11.6%", "11.6%"])
282
 
283
  predict_button.click(
284
  fn=process_input,