Spaces:
Running
on
T4
Running
on
T4
Commit
•
e6a8b63
1
Parent(s):
34b029c
upgraded gradio version (#2)
Browse files- upgraded gradio version (ea4832a66350909284c709374c7be1bcf0af3589)
- Update tools/demo.py (b1190711573d586c8c4e9b4e0c3ec997f391e166)
Co-authored-by: yuvraj sharma <[email protected]>
- README.md +1 -1
- tools/demo.py +1 -2
README.md
CHANGED
@@ -7,7 +7,7 @@ pinned: false
|
|
7 |
license: apache-2.0
|
8 |
app_file: app.py
|
9 |
sdk: gradio
|
10 |
-
sdk_version:
|
11 |
---
|
12 |
|
13 |
<div align="center">
|
|
|
7 |
license: apache-2.0
|
8 |
app_file: app.py
|
9 |
sdk: gradio
|
10 |
+
sdk_version: 4.16.0
|
11 |
---
|
12 |
|
13 |
<div align="center">
|
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 |
|