Spaces:
Running
on
Zero
Running
on
Zero
layout
Browse files
app.py
CHANGED
|
@@ -639,23 +639,20 @@ def process_video(video_file):
|
|
| 639 |
|
| 640 |
|
| 641 |
def create_interface():
|
| 642 |
-
|
| 643 |
-
|
| 644 |
-
Upload an ASL* video to get an English translation. *Sign languages belonging to the same sign language family as ASL (e.g. Ghanaian Sign Language, as well as others listed in Table 7, Row 1 of https://aclanthology.org/2023.findings-emnlp.664.pdf) might also have non-trivial performance, although the model is trained only on ASL data.
|
| 645 |
-
|
| 646 |
|
| 647 |
This app uses TTIC's foundation model SHuBERT (introduced in an ACL 2025 paper, see http://shubert.pals.ttic.edu).
|
| 648 |
-
|
| 649 |
-
|
| 650 |
-
|
| 651 |
-
|
| 652 |
-
|
| 653 |
-
|
| 654 |
-
|
| 655 |
-
|
| 656 |
-
|
| 657 |
-
|
| 658 |
-
"""
|
| 659 |
|
| 660 |
if initialization_error:
|
| 661 |
description += f"\n\n:warning: **Initialization Error:** {initialization_error}"
|
|
|
|
| 639 |
|
| 640 |
|
| 641 |
def create_interface():
|
| 642 |
+
"""Create the Gradio interface"""
|
| 643 |
+
description = """Upload an ASL* video to get an English translation. *Sign languages belonging to the same sign language family as ASL (e.g. Ghanaian Sign Language, as well as others listed in Table 7, Row 1 of https://aclanthology.org/2023.findings-emnlp.664.pdf) might also have non-trivial performance, although the model is trained only on ASL data.
|
|
|
|
|
|
|
| 644 |
|
| 645 |
This app uses TTIC's foundation model SHuBERT (introduced in an ACL 2025 paper, see http://shubert.pals.ttic.edu).
|
| 646 |
+
|
| 647 |
+
**Requirements:**
|
| 648 |
+
- We recommend that videos be under 20 seconds. Performance for longer videos has not been tested.
|
| 649 |
+
- The signer should be the main part (e.g. 90% of the area) of the video. Videos recorded from a phone camera, tablet, or personal computer should work well. Studio recordings where the signer is farther from the camera may not work as well.
|
| 650 |
+
- Supported formats: MP4, MOV
|
| 651 |
+
|
| 652 |
+
**Note:**
|
| 653 |
+
- This is just a demo of a research project, and should NOT be used to replace an interpreter in any way.
|
| 654 |
+
- Videos will be deleted after the output is generated.
|
| 655 |
+
- Inquires or feedback? Please email us at [email protected]"""
|
|
|
|
| 656 |
|
| 657 |
if initialization_error:
|
| 658 |
description += f"\n\n:warning: **Initialization Error:** {initialization_error}"
|