Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ def predict_image(input_img):
|
|
14 |
|
15 |
image_gradio_app = gr.Interface(
|
16 |
fn=predict_image,
|
17 |
-
inputs=gr.Image(
|
18 |
outputs=[gr.Label(label="Result")],
|
19 |
title="Green Greta",
|
20 |
theme=theme
|
|
|
14 |
|
15 |
image_gradio_app = gr.Interface(
|
16 |
fn=predict_image,
|
17 |
+
inputs=gr.Image(sources=['upload', 'webcam'], type="pil"),
|
18 |
outputs=[gr.Label(label="Result")],
|
19 |
title="Green Greta",
|
20 |
theme=theme
|