Spaces:
Sleeping
Sleeping
Update app.py
Browse filesUpdated version 3
app.py
CHANGED
|
@@ -15,7 +15,7 @@ def process_image(image):
|
|
| 15 |
|
| 16 |
demo = gr.Interface(
|
| 17 |
fn=process_image,
|
| 18 |
-
inputs=gr.
|
| 19 |
outputs="json",
|
| 20 |
)
|
| 21 |
|
|
|
|
| 15 |
|
| 16 |
demo = gr.Interface(
|
| 17 |
fn=process_image,
|
| 18 |
+
inputs=gr.Image(type="pil"),
|
| 19 |
outputs="json",
|
| 20 |
)
|
| 21 |
|