kavinh07 commited on
Commit
58dd01a
·
1 Parent(s): 2b33601

inputs outputs

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -21,8 +21,8 @@ ball_labels = [
21
  'Tennis',
22
  'Volleyball'
23
  ]
24
- image = gr.Image()
25
- label = gr.Label()
26
  example = [
27
  'test_images/img0001.jpeg',
28
  'test_images/img0002.jpeg',
 
21
  'Tennis',
22
  'Volleyball'
23
  ]
24
+ image = gr.inputs.Image()
25
+ label = gr.outputs.Label()
26
  example = [
27
  'test_images/img0001.jpeg',
28
  'test_images/img0002.jpeg',