Hack90 commited on
Commit
a17ec79
·
verified ·
1 Parent(s): 9bcb888

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1008,7 +1008,7 @@ with ui.navset_card_tab(id="tab"):
1008
  for param_type in param_types:
1009
  for loss_type in loss_types:
1010
  for model_type in model_types:
1011
- y = df[(df['param_type'] == param_type) & (df['loss_type'] == loss_type) & (df['model_type'] == model_type)]['loss'].astype('float').values
1012
  print(y)
1013
 
1014
  if len(y) > 0:
 
1008
  for param_type in param_types:
1009
  for loss_type in loss_types:
1010
  for model_type in model_types:
1011
+ y = df[(df['param_type'] == int(param_type)) & (df['loss_type'] == loss_type) & (df['model_type'] == model_type)]['loss'].values
1012
  print(y)
1013
 
1014
  if len(y) > 0: