xinchen9 commited on
Commit
8d13f47
·
verified ·
1 Parent(s): e2909b8

[Update]set to string for methods

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -63,7 +63,7 @@ def restart_space():
63
  # ) = get_evaluation_queue_df(EVAL_REQUESTS_PATH, EVAL_COLS)
64
 
65
  raw_data = dummydf()
66
- methods = list(set(raw_data['Method'].astype(str)))
67
  metrics = ["Chruch","Parachute","Tench","Garbage Turch","Van Gogh","Violence","Illegal Activity","Nudity"]
68
 
69
  def update_table(
 
63
  # ) = get_evaluation_queue_df(EVAL_REQUESTS_PATH, EVAL_COLS)
64
 
65
  raw_data = dummydf()
66
+ methods = list(set(str(raw_data['Method'])))
67
  metrics = ["Chruch","Parachute","Tench","Garbage Turch","Van Gogh","Violence","Illegal Activity","Nudity"]
68
 
69
  def update_table(