Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ def predict(input_img):
|
|
13 |
gradio_app = gr.Interface(
|
14 |
predict,
|
15 |
inputs=gr.Image(label="Select Magic Card", sources=['upload', 'webcam'], type="pil"),
|
16 |
-
outputs=[gr.
|
17 |
examples=sample_img_paths,
|
18 |
title="TCG Magic Classifier",
|
19 |
description='This classifier returns the id of cards from scryfall!, try one of the samples below'
|
|
|
13 |
gradio_app = gr.Interface(
|
14 |
predict,
|
15 |
inputs=gr.Image(label="Select Magic Card", sources=['upload', 'webcam'], type="pil"),
|
16 |
+
outputs=[gr.Image(label="Processed Image"), gr.Label(label="Result", num_top_classes=1)],
|
17 |
examples=sample_img_paths,
|
18 |
title="TCG Magic Classifier",
|
19 |
description='This classifier returns the id of cards from scryfall!, try one of the samples below'
|