Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -66,7 +66,7 @@ with gr.Blocks() as interface:
|
|
| 66 |
gr.Markdown("## Sign Language Detector")
|
| 67 |
gr.Markdown("Upload a hand gesture image or use your webcam to detect the corresponding sign.\n[Indian Sign Language Dataset](https://www.kaggle.com/datasets/vaishnaviasonawane/indian-sign-language-dataset)")
|
| 68 |
|
| 69 |
-
|
| 70 |
output = gr.Textbox(label="Predicted Sign")
|
| 71 |
|
| 72 |
submit_btn = gr.Button("Detect")
|
|
|
|
| 66 |
gr.Markdown("## Sign Language Detector")
|
| 67 |
gr.Markdown("Upload a hand gesture image or use your webcam to detect the corresponding sign.\n[Indian Sign Language Dataset](https://www.kaggle.com/datasets/vaishnaviasonawane/indian-sign-language-dataset)")
|
| 68 |
|
| 69 |
+
image_input = gr.Image(type="numpy", label="Upload Image or Use Webcam", sources=["upload", "webcam"])
|
| 70 |
output = gr.Textbox(label="Predicted Sign")
|
| 71 |
|
| 72 |
submit_btn = gr.Button("Detect")
|