upgraded gradio version

#2
by ysharma HF staff - opened
Files changed (2) hide show
  1. README.md +1 -1
  2. 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: 3.35.2
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(lines=1, visible=False)
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