Roni Goldshmidt commited on
Commit
ef3c6a4
·
1 Parent(s): 0909f18

Initial leaderboard setup

Browse files
Files changed (2) hide show
  1. .ipynb_checkpoints/app-checkpoint.py +1 -1
  2. app.py +1 -1
.ipynb_checkpoints/app-checkpoint.py CHANGED
@@ -221,7 +221,7 @@ with tab2:
221
  barmode='group',
222
  title=f'{selected_metric} by Class for {selected_category}',
223
  color_discrete_map=model_colors,
224
- range_y=[0, 100] if selected_metric in ['F1 Score', 'Precision', 'Recall'] else None
225
  )
226
  st.plotly_chart(fig, use_container_width=True)
227
 
 
221
  barmode='group',
222
  title=f'{selected_metric} by Class for {selected_category}',
223
  color_discrete_map=model_colors,
224
+ range_y=[0, 1] if selected_metric in ['F1 Score', 'Precision', 'Recall'] else None
225
  )
226
  st.plotly_chart(fig, use_container_width=True)
227
 
app.py CHANGED
@@ -221,7 +221,7 @@ with tab2:
221
  barmode='group',
222
  title=f'{selected_metric} by Class for {selected_category}',
223
  color_discrete_map=model_colors,
224
- range_y=[0, 100] if selected_metric in ['F1 Score', 'Precision', 'Recall'] else None
225
  )
226
  st.plotly_chart(fig, use_container_width=True)
227
 
 
221
  barmode='group',
222
  title=f'{selected_metric} by Class for {selected_category}',
223
  color_discrete_map=model_colors,
224
+ range_y=[0, 1] if selected_metric in ['F1 Score', 'Precision', 'Recall'] else None
225
  )
226
  st.plotly_chart(fig, use_container_width=True)
227