AugustinHuang commited on
Commit
c1caa6e
·
verified ·
1 Parent(s): 3280e8b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -11
app.py CHANGED
@@ -136,17 +136,7 @@ Văn bản cần phân tích: {text}"""
136
  # KHÔNG CÓ title ở đây nữa! Tiêu đề sẽ do Gradio Markdown đảm nhận
137
  height=500, # Tăng chiều cao để legend thoải mái
138
  margin=dict(t=20, b=100, l=20, r=20), # Bottom margin lớn (100) để chứa legend bên dưới
139
- showlegend=True,
140
- legend=dict(
141
- orientation="v",
142
- yanchor="top",
143
- y=0.98,
144
- xanchor="right",
145
- x=0.98,
146
- font=dict(size=10),
147
- bgcolor="rgba(0,0,0,0)",
148
- traceorder="grouped"
149
- )
150
  )
151
  return fig
152
 
 
136
  # KHÔNG CÓ title ở đây nữa! Tiêu đề sẽ do Gradio Markdown đảm nhận
137
  height=500, # Tăng chiều cao để legend thoải mái
138
  margin=dict(t=20, b=100, l=20, r=20), # Bottom margin lớn (100) để chứa legend bên dưới
139
+ showlegend=False,
 
 
 
 
 
 
 
 
 
 
140
  )
141
  return fig
142