Update app.py
Browse files
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 |
-
|
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 |
-
|
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 |
)
|