fix ims
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ def inference(im):
|
|
11 |
|
12 |
results.render() # updates results.imgs with boxes and labels
|
13 |
|
14 |
-
return Image.fromarray(results.
|
15 |
|
16 |
|
17 |
inputs = gr.inputs.Image(type='pil', label="Original Image")
|
|
|
11 |
|
12 |
results.render() # updates results.imgs with boxes and labels
|
13 |
|
14 |
+
return Image.fromarray(results.ims[0])
|
15 |
|
16 |
|
17 |
inputs = gr.inputs.Image(type='pil', label="Original Image")
|