dudko commited on
Commit
7f87c04
·
1 Parent(s): 6bfc414

update app

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,5 +14,5 @@ title = "Hand Gesture Classifier"
14
  description = "A hand gesture classifier trained for two classes thumbs up and heart gesture. Created as a demo for Gradio and HuggingFace Spaces."
15
 
16
  examples = ['boy_thumbs_up.jpg', 'girl_thumbs_up.jpg', 'man_heart.jpg', 'heart.jpg']
17
- gr.Interface(fn=predict, inputs=gr.component.Image(shape=(512, 512)), outputs=gr.component.Label(num_top_classes=2), title=title, description=description, examples=examples,
18
  interpretation='default').launch(share=True)
 
14
  description = "A hand gesture classifier trained for two classes thumbs up and heart gesture. Created as a demo for Gradio and HuggingFace Spaces."
15
 
16
  examples = ['boy_thumbs_up.jpg', 'girl_thumbs_up.jpg', 'man_heart.jpg', 'heart.jpg']
17
+ gr.Interface(fn=predict, inputs=gr.components.Image(shape=(512, 512)), outputs=gr.components.Label(num_top_classes=2), title=title, description=description, examples=examples,
18
  interpretation='default').launch(share=True)