osanseviero HF staff commited on
Commit
52fb80a
β€’
1 Parent(s): 7a990e9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -66,7 +66,7 @@ title = "Draw to Search"
66
  iface = gr.Interface(
67
  fn=predict,
68
  inputs='sketchpad',
69
- outputs=[outputs='label', gr.outputs.Image(type="file"), gr.outputs.Image(type="file"), gr.outputs.Image(type="file")],
70
  title=title,
71
  )
72
  iface.launch(debug=True)
 
66
  iface = gr.Interface(
67
  fn=predict,
68
  inputs='sketchpad',
69
+ outputs=[gr.outputs.Label(num_top_classes=3), gr.outputs.Image(type="file"), gr.outputs.Image(type="file"), gr.outputs.Image(type="file")],
70
  title=title,
71
  )
72
  iface.launch(debug=True)