Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -18,8 +18,8 @@ enable_queue=True
|
|
18 |
|
19 |
gr.Interface(
|
20 |
fn=predict,
|
21 |
-
inputs=gr.Image(
|
22 |
-
outputs=gr.
|
23 |
title=title,
|
24 |
description=description,
|
25 |
examples=examples,
|
|
|
18 |
|
19 |
gr.Interface(
|
20 |
fn=predict,
|
21 |
+
inputs=gr.Image(width=512, sources=["upload", "webcam", "clipboard"]),
|
22 |
+
outputs=gr.Label(num_top_classes=4),
|
23 |
title=title,
|
24 |
description=description,
|
25 |
examples=examples,
|