Xu Ma commited on
Commit
feef2d1
1 Parent(s): 461b439

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -297,7 +297,7 @@ def main(args):
297
  experiment_id, # path adding scheduler
298
  ]
299
  # outputs
300
- outputs = gr.outputs.Image(type="pil", label="检测图片")
301
  outputs02 = gr.outputs.JSON(label="检测信息")
302
 
303
  # title
 
297
  experiment_id, # path adding scheduler
298
  ]
299
  # outputs
300
+ outputs = gr.outputs.Image(type="numpy", label="检测图片")
301
  outputs02 = gr.outputs.JSON(label="检测信息")
302
 
303
  # title