Spaces:
Running
on
T4
Running
on
T4
Update tools/demo.py
Browse filesremoved the incorrect `lines` parameter from some of the gradio components
- tools/demo.py +1 -2
tools/demo.py
CHANGED
@@ -155,7 +155,7 @@ def demo(runner, args):
|
|
155 |
clear = gr.Button('Clear')
|
156 |
with gr.Row():
|
157 |
export = gr.Button('Deploy and Export ONNX Model')
|
158 |
-
out_download = gr.File(
|
159 |
max_num_boxes = gr.Slider(
|
160 |
minimum=1,
|
161 |
maximum=300,
|
@@ -179,7 +179,6 @@ def demo(runner, args):
|
|
179 |
label='NMS Threshold')
|
180 |
with gr.Column(scale=0.7):
|
181 |
output_image = gr.Image(
|
182 |
-
lines=20,
|
183 |
type='pil',
|
184 |
label='output image')
|
185 |
|
|
|
155 |
clear = gr.Button('Clear')
|
156 |
with gr.Row():
|
157 |
export = gr.Button('Deploy and Export ONNX Model')
|
158 |
+
out_download = gr.File(visible=False)
|
159 |
max_num_boxes = gr.Slider(
|
160 |
minimum=1,
|
161 |
maximum=300,
|
|
|
179 |
label='NMS Threshold')
|
180 |
with gr.Column(scale=0.7):
|
181 |
output_image = gr.Image(
|
|
|
182 |
type='pil',
|
183 |
label='output image')
|
184 |
|