BenchmarkBot commited on
Commit
96e0ef8
β€’
1 Parent(s): 0eccf0c

fix box on search

Browse files
Files changed (1) hide show
  1. app.py +15 -15
app.py CHANGED
@@ -79,24 +79,24 @@ with demo:
79
  gr.Markdown(INTRODUCTION_TEXT, elem_classes="markdown-text")
80
 
81
  with gr.Row():
82
- with gr.Column(scale=1):
83
- search_bar = gr.Textbox(
84
- label="Search πŸ”Ž",
85
- info="Search for a model",
86
- placeholder="Write and press ENTER...",
87
- elem_id="search-bar",
88
- )
 
89
 
90
  with gr.Column(scale=1):
91
- with gr.Box(elem_id="backend-checkboxes-table-box"):
92
- backend_checkboxes = gr.CheckboxGroup(
93
- choices=["pytorch", "onnxruntime"],
94
- value=["pytorch", "onnxruntime"],
95
- label="Backends 🏭",
96
- info="Select the backends",
97
- elem_id="backend-checkboxes",
98
 
99
- )
100
 
101
  with gr.Tabs(elem_classes="tab-buttons") as tabs:
102
  with gr.TabItem("πŸ–₯️ A100-80GB Benchmark πŸ‹οΈ", elem_id="A100-benchmark", id=0):
 
79
  gr.Markdown(INTRODUCTION_TEXT, elem_classes="markdown-text")
80
 
81
  with gr.Row():
82
+ with gr.Column(scale=2):
83
+ with gr.Box(elem_id="search-bar-table-box"):
84
+ search_bar = gr.Textbox(
85
+ label="Search πŸ”Ž",
86
+ info="Search for a model",
87
+ placeholder="Write and press ENTER...",
88
+ elem_id="search-bar",
89
+ )
90
 
91
  with gr.Column(scale=1):
92
+ backend_checkboxes = gr.CheckboxGroup(
93
+ choices=["pytorch", "onnxruntime"],
94
+ value=["pytorch", "onnxruntime"],
95
+ label="Backends 🏭",
96
+ info="Select the backends",
97
+ elem_id="backend-checkboxes",
 
98
 
99
+ )
100
 
101
  with gr.Tabs(elem_classes="tab-buttons") as tabs:
102
  with gr.TabItem("πŸ–₯️ A100-80GB Benchmark πŸ‹οΈ", elem_id="A100-benchmark", id=0):