Spaces:
Sleeping
Sleeping
Changed
Browse files
app.py
CHANGED
@@ -52,7 +52,7 @@ example_list = [["examples/" + example] for example in os.listdir("examples")]
|
|
52 |
# Create the Gradio demo
|
53 |
demo = gr.Interface(fn=predict, # mapping function from input to output
|
54 |
inputs=gr.Image(type="pil"), # what are the inputs?
|
55 |
-
outputs=gr.
|
56 |
examples=example_list,
|
57 |
title=title,
|
58 |
description=description,
|
|
|
52 |
# Create the Gradio demo
|
53 |
demo = gr.Interface(fn=predict, # mapping function from input to output
|
54 |
inputs=gr.Image(type="pil"), # what are the inputs?
|
55 |
+
outputs=gr.JSON(label="Predictions"),
|
56 |
examples=example_list,
|
57 |
title=title,
|
58 |
description=description,
|