sasha HF staff commited on
Commit
c76229c
β€’
1 Parent(s): 5b5b33a
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -20,6 +20,11 @@ def get_model_names(task_data):
20
  model_names = task_df[['model']]
21
  return model_names
22
 
 
 
 
 
 
23
  demo = gr.Blocks()
24
 
25
  with demo:
@@ -55,7 +60,7 @@ with demo:
55
  with gr.Column():
56
  plot = gr.Plot(get_plots('data/energy/image_classification.csv'))
57
  with gr.Column():
58
- table = gr.Dataframe(get_model_names('data/image_classification.csv'))
59
 
60
  with gr.TabItem("Extractive QA ❔"):
61
  with gr.Row():
 
20
  model_names = task_df[['model']]
21
  return model_names
22
 
23
+ def get_params(param_data):
24
+ param_df= pd.read_csv(param_data)
25
+ model_params = {}
26
+
27
+
28
  demo = gr.Blocks()
29
 
30
  with demo:
 
60
  with gr.Column():
61
  plot = gr.Plot(get_plots('data/energy/image_classification.csv'))
62
  with gr.Column():
63
+ table = gr.Dataframe(get_model_names('data/energy/image_classification.csv'))
64
 
65
  with gr.TabItem("Extractive QA ❔"):
66
  with gr.Row():