Spaces:
Sleeping
Sleeping
main image added
Browse files
SIGNS.png
ADDED
![]() |
app.py
CHANGED
@@ -12,9 +12,33 @@ def sign(input_img):
|
|
12 |
|
13 |
css = ''
|
14 |
|
15 |
-
with gr.Blocks(css=css) as demo:
|
16 |
-
|
17 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
18 |
|
19 |
# demo.queue()
|
20 |
demo.launch(debug=True)
|
|
|
12 |
|
13 |
css = ''
|
14 |
|
15 |
+
# with gr.Blocks(css=css) as demo:
|
16 |
+
# gr.HTML("<h1><center>Signsapp: Classify the signs based on the hands sign images<center><h1>")
|
17 |
+
# gr.Interface(sign,inputs=gr.Image(shape=(200, 200)), outputs=gr.Label())
|
18 |
+
|
19 |
+
title = r"Signsapp"
|
20 |
+
|
21 |
+
description = r"""
|
22 |
+
<center>
|
23 |
+
Classify the signs based on the hands sign images
|
24 |
+
<img src="SIGNS.png" width=200px>
|
25 |
+
</center>
|
26 |
+
"""
|
27 |
+
article = r"""
|
28 |
+
- [Coursera](https://arxiv.org/pdf/1512.03385)
|
29 |
+
"""
|
30 |
+
|
31 |
+
demo = gr.Interface(
|
32 |
+
title = title,
|
33 |
+
description = description,
|
34 |
+
article = article,
|
35 |
+
fn=sign,
|
36 |
+
inputs = gr.Image(shape=(200, 200)),
|
37 |
+
outputs = gr.Label(),
|
38 |
+
# allow_flagging = "manual",
|
39 |
+
# flagging_options = ['recule', 'tournedroite', 'arretetoi', 'tournegauche', 'gauche', 'avance', 'droite'],
|
40 |
+
# flagging_dir = "./flag/men"
|
41 |
+
)
|
42 |
|
43 |
# demo.queue()
|
44 |
demo.launch(debug=True)
|