Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -55,7 +55,7 @@ def inference(input_image):
|
|
| 55 |
print(result)
|
| 56 |
return result
|
| 57 |
|
| 58 |
-
inputs = gr.
|
| 59 |
outputs = gr.Label(type="confidences",num_top_classes=5)
|
| 60 |
|
| 61 |
title = "MOBILENET V2"
|
|
|
|
| 55 |
print(result)
|
| 56 |
return result
|
| 57 |
|
| 58 |
+
inputs = gr.Image(type='pil')
|
| 59 |
outputs = gr.Label(type="confidences",num_top_classes=5)
|
| 60 |
|
| 61 |
title = "MOBILENET V2"
|