sayakpaul HF Staff commited on
Commit
9129a47
·
verified ·
1 Parent(s): 47245ce

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -1,4 +1,4 @@
1
- # Done with the help of ChatGPT.
2
 
3
  import pandas as pd
4
  import gradio as gr
@@ -9,7 +9,8 @@ CSV_PATH = "collated_results.csv" # Place your CSV file here
9
 
10
  df = pd.read_csv(CSV_PATH).reset_index(drop=True)
11
 
12
- # Prepare dropdown choices\ nmodel_choices = sorted(df['model_cls'].dropna().unique().tolist())
 
13
  metric_choices = ["num_params_B", "flops_G", "time_plain_s", "mem_plain_GB", "time_compile_s", "mem_compile_GB"]
14
  group_choices = ["scenario"]
15
 
 
1
+ # Thanks ChatGPT for pairing.
2
 
3
  import pandas as pd
4
  import gradio as gr
 
9
 
10
  df = pd.read_csv(CSV_PATH).reset_index(drop=True)
11
 
12
+ # Prepare dropdown choices
13
+ model_choices = sorted(df['model_cls'].dropna().unique().tolist())
14
  metric_choices = ["num_params_B", "flops_G", "time_plain_s", "mem_plain_GB", "time_compile_s", "mem_compile_GB"]
15
  group_choices = ["scenario"]
16