xinchen9 commited on
Commit
4be1835
1 Parent(s): 75f03f9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -78,7 +78,7 @@ def restart_space():
78
 
79
  all_columns = ['Unlearned_Methods','Pre-ASR','Post-ASR','FID','CLIP-Score']
80
  show_columns = ['Unlearned_Methods','Pre-ASR','Post-ASR','FID','CLIP-Score']
81
- # TYPES = ['str', 'number', 'number', 'number', 'number']
82
  files = ['nudity','vangogh', 'church','garbage','parachute','tench']
83
  csv_path='./assets/'+files[0]+'.csv'
84
  df_results = load_data(csv_path)
@@ -267,8 +267,8 @@ with demo:
267
 
268
 
269
  hidden_leaderboard_table_for_search = gr.components.Dataframe(
270
- #value=df_results_init,
271
- value=df_results,
272
  interactive=False,
273
  visible=False,
274
  )
 
78
 
79
  all_columns = ['Unlearned_Methods','Pre-ASR','Post-ASR','FID','CLIP-Score']
80
  show_columns = ['Unlearned_Methods','Pre-ASR','Post-ASR','FID','CLIP-Score']
81
+ TYPES = ['str', 'number', 'number', 'number', 'number']
82
  files = ['nudity','vangogh', 'church','garbage','parachute','tench']
83
  csv_path='./assets/'+files[0]+'.csv'
84
  df_results = load_data(csv_path)
 
267
 
268
 
269
  hidden_leaderboard_table_for_search = gr.components.Dataframe(
270
+ value=df_results_init,
271
+ # value=df_results,
272
  interactive=False,
273
  visible=False,
274
  )