Spaces:
Running
Running
modified the app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ def predict_image(image):
|
|
12 |
|
13 |
# Interface Gradio
|
14 |
interface = gr.Interface(fn=predict_image,
|
15 |
-
|
16 |
outputs="label",
|
17 |
live=True)
|
18 |
|
|
|
12 |
|
13 |
# Interface Gradio
|
14 |
interface = gr.Interface(fn=predict_image,
|
15 |
+
inputs = gr.Image(type="pil"),
|
16 |
outputs="label",
|
17 |
live=True)
|
18 |
|