nlpblogs commited on
Commit
75d385f
·
verified ·
1 Parent(s): 2d77268

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -174,7 +174,7 @@ if st.button("Results"):
174
  st.dataframe(df_styled)
175
  if df is not None:
176
  fig = px.treemap(df, path=[px.Constant("all"), 'text', 'label'],
177
- values='score', color='text')
178
  fig.update_layout(margin = dict(t=50, l=25, r=25, b=25))
179
  st.plotly_chart(fig)
180
 
 
174
  st.dataframe(df_styled)
175
  if df is not None:
176
  fig = px.treemap(df, path=[px.Constant("all"), 'text', 'label'],
177
+ values='score', color='label')
178
  fig.update_layout(margin = dict(t=50, l=25, r=25, b=25))
179
  st.plotly_chart(fig)
180