Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ examples = ['yellow_banana.jpg', 'banana.jpg', 'yellow_banana_2.jpg', 'green_ban
|
|
17 |
|
18 |
gr.Interface(
|
19 |
fn=predict,
|
20 |
-
inputs=gr.Image(
|
21 |
outputs=gr.Label(num_top_classes=4),
|
22 |
title=title,
|
23 |
description=description,
|
|
|
17 |
|
18 |
gr.Interface(
|
19 |
fn=predict,
|
20 |
+
inputs=gr.Image(sources=["upload", "webcam", "clipboard"]),
|
21 |
outputs=gr.Label(num_top_classes=4),
|
22 |
title=title,
|
23 |
description=description,
|