Spaces:
Runtime error
Runtime error
Commit
·
fee337f
1
Parent(s):
7bcde03
Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ def classify_image(img):
|
|
17 |
# Cell
|
18 |
image = gr.inputs.Image(shape=(192,192),source='webcam')
|
19 |
label = gr.outputs.Label()
|
20 |
-
|
21 |
|
22 |
css = """
|
23 |
footer {display:none !important}
|
@@ -70,5 +70,5 @@ div[data-testid="label"] {overflow-x: hidden !important; overflow-y: scroll !imp
|
|
70 |
|
71 |
"""
|
72 |
|
73 |
-
intf = gr.Interface(fn=classify_image, inputs=image, outputs=label, title="Handpose | Datascience Dojo", css=css)
|
74 |
intf.launch(inline=False)
|
|
|
17 |
# Cell
|
18 |
image = gr.inputs.Image(shape=(192,192),source='webcam')
|
19 |
label = gr.outputs.Label()
|
20 |
+
examples = ['beyonce-ok.jpg']
|
21 |
|
22 |
css = """
|
23 |
footer {display:none !important}
|
|
|
70 |
|
71 |
"""
|
72 |
|
73 |
+
intf = gr.Interface(fn=classify_image, inputs=image, outputs=label,examples=examples ,title="Handpose | Datascience Dojo", css=css)
|
74 |
intf.launch(inline=False)
|