Spaces:
Sleeping
Sleeping
Update app.py
Browse filesUpdated comit removed exampe file loading during startup
app.py
CHANGED
@@ -15,9 +15,8 @@ def process_image(image):
|
|
15 |
|
16 |
demo = gr.Interface(
|
17 |
fn=process_image,
|
18 |
-
inputs=gr.
|
19 |
outputs="json",
|
20 |
-
examples=[["example1.jpg"], ["example2.jpg"]]
|
21 |
)
|
22 |
|
23 |
demo.launch()
|
|
|
15 |
|
16 |
demo = gr.Interface(
|
17 |
fn=process_image,
|
18 |
+
inputs=gr.File(type="pil"),
|
19 |
outputs="json",
|
|
|
20 |
)
|
21 |
|
22 |
demo.launch()
|