launching publicly
Browse files
app.py
CHANGED
|
@@ -121,7 +121,7 @@ def predict_sign(video_path, model, processor, id_to_label, device):
|
|
| 121 |
demo = gr.Interface(
|
| 122 |
fn=predict_video,
|
| 123 |
inputs=gr.Video(label="📹 Upload Sign Language Video"),
|
| 124 |
-
outputs=gr.Markdown(label="
|
| 125 |
title="🤟 Ugandan Sign Language Recognition",
|
| 126 |
description="Upload a video of sign language and the AI will predict which sign it is!",
|
| 127 |
examples=[] # You can add example videos later
|
|
@@ -129,4 +129,4 @@ demo = gr.Interface(
|
|
| 129 |
|
| 130 |
# For Hugging Face Spaces deployment
|
| 131 |
if __name__ == "__main__":
|
| 132 |
-
demo.launch(
|
|
|
|
| 121 |
demo = gr.Interface(
|
| 122 |
fn=predict_video,
|
| 123 |
inputs=gr.Video(label="📹 Upload Sign Language Video"),
|
| 124 |
+
outputs=gr.Markdown(label=" Prediction Results"),
|
| 125 |
title="🤟 Ugandan Sign Language Recognition",
|
| 126 |
description="Upload a video of sign language and the AI will predict which sign it is!",
|
| 127 |
examples=[] # You can add example videos later
|
|
|
|
| 129 |
|
| 130 |
# For Hugging Face Spaces deployment
|
| 131 |
if __name__ == "__main__":
|
| 132 |
+
demo.launch(share=True)
|