Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -19,7 +19,7 @@ def predict_input_image(img):
|
|
19 |
# Define Gradio interface
|
20 |
iface = gr.Interface(
|
21 |
fn=predict_input_image,
|
22 |
-
inputs=
|
23 |
outputs="text",
|
24 |
)
|
25 |
|
|
|
19 |
# Define Gradio interface
|
20 |
iface = gr.Interface(
|
21 |
fn=predict_input_image,
|
22 |
+
inputs=gr.Image(type = 'pil'),
|
23 |
outputs="text",
|
24 |
)
|
25 |
|