joaogante HF staff commited on
Commit
0910acf
1 Parent(s): baa7f0c

shorter names

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -75,7 +75,7 @@ with demo:
75
  )
76
 
77
  with gr.Tabs():
78
- with gr.TabItem("OPT: Open Text Generation"):
79
  plot_fn = functools.partial(get_plot, "OPT: Open Text Generation")
80
  with gr.Row():
81
  with gr.Column(scale=0.3):
@@ -153,7 +153,7 @@ with demo:
153
  plot_inputs = [gpu_selector, omit_offload]
154
  gpu_selector.change(fn=plot_fn, inputs=plot_inputs, outputs=plot)
155
  omit_offload.change(fn=plot_fn, inputs=plot_inputs, outputs=plot)
156
- with gr.TabItem("CodeGen: Code Generation"):
157
  plot_fn = functools.partial(get_plot, "CodeGen: Code Generation")
158
  with gr.Row():
159
  with gr.Column(scale=0.3):
@@ -206,7 +206,7 @@ with demo:
206
  plot_inputs = [gpu_selector, omit_offload]
207
  gpu_selector.change(fn=plot_fn, inputs=plot_inputs, outputs=plot)
208
  omit_offload.change(fn=plot_fn, inputs=plot_inputs, outputs=plot)
209
- with gr.TabItem("Benchmark Information"):
210
  gr.Dataframe(
211
  headers=["Parameter", "Value"],
212
  value=[
 
75
  )
76
 
77
  with gr.Tabs():
78
+ with gr.TabItem("OPT: Open"):
79
  plot_fn = functools.partial(get_plot, "OPT: Open Text Generation")
80
  with gr.Row():
81
  with gr.Column(scale=0.3):
 
153
  plot_inputs = [gpu_selector, omit_offload]
154
  gpu_selector.change(fn=plot_fn, inputs=plot_inputs, outputs=plot)
155
  omit_offload.change(fn=plot_fn, inputs=plot_inputs, outputs=plot)
156
+ with gr.TabItem("CodeGen: Code"):
157
  plot_fn = functools.partial(get_plot, "CodeGen: Code Generation")
158
  with gr.Row():
159
  with gr.Column(scale=0.3):
 
206
  plot_inputs = [gpu_selector, omit_offload]
207
  gpu_selector.change(fn=plot_fn, inputs=plot_inputs, outputs=plot)
208
  omit_offload.change(fn=plot_fn, inputs=plot_inputs, outputs=plot)
209
+ with gr.TabItem("Benchmark Info"):
210
  gr.Dataframe(
211
  headers=["Parameter", "Value"],
212
  value=[