Thenujan commited on
Commit
c5c6077
·
1 Parent(s): b7dd880
Files changed (1) hide show
  1. app.py +1 -1
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.Label(label="Predictions"),
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,