sasha HF Staff commited on
Commit
f2b6a4e
·
verified ·
1 Parent(s): 774c2d9

Update app.py

Browse files

showing only completed models

Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -114,7 +114,8 @@ def add_new_eval(
114
  def print_existing_models():
115
  requests= load_dataset("EnergyStarAI/requests_debug", split="test", token=TOKEN)
116
  requests_dset = requests.to_pandas()
117
- model_df= requests_dset[['model','status']]
 
118
  return model_df
119
 
120
  def highlight_cols(x):
 
114
  def print_existing_models():
115
  requests= load_dataset("EnergyStarAI/requests_debug", split="test", token=TOKEN)
116
  requests_dset = requests.to_pandas()
117
+ model_df= requests_dset[['model','status']]
118
+ model_df[model_df['status' == 'COMPLETED']]
119
  return model_df
120
 
121
  def highlight_cols(x):