Andreas Lukito commited on
Commit
d722f07
1 Parent(s): 99fb798

Use JSON for label

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -57,7 +57,7 @@ def process_image(image):
57
 
58
 
59
  image = gr.Image(type='pil')
60
- label = gr.Label()
61
 
62
  intf = gr.Interface(fn=process_image, inputs=image, outputs=label)
63
  intf.launch(inline=False)
 
57
 
58
 
59
  image = gr.Image(type='pil')
60
+ label = gr.JSON()
61
 
62
  intf = gr.Interface(fn=process_image, inputs=image, outputs=label)
63
  intf.launch(inline=False)