Spaces:
Runtime error
Runtime error
karin.brisker
commited on
Commit
•
9a7dc92
1
Parent(s):
0ce66ab
app
Browse files- .gitattributes +1 -0
- app.py +1 -0
.gitattributes
CHANGED
@@ -32,3 +32,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
32 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
33 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
34 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
32 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
33 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
34 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
35 |
+
sample/iPhone_14_Pro.mp4 filter=lfs diff=lfs merge=lfs -text
|
app.py
CHANGED
@@ -4,6 +4,7 @@ from main import LANGS, Pipeline
|
|
4 |
|
5 |
|
6 |
def video_identity(video, source_language="English", target_language="Spanish"):
|
|
|
7 |
video_path = pipeline(video, "sample", source_language, target_language)
|
8 |
|
9 |
return video_path
|
|
|
4 |
|
5 |
|
6 |
def video_identity(video, source_language="English", target_language="Spanish"):
|
7 |
+
pipeline = Pipeline()
|
8 |
video_path = pipeline(video, "sample", source_language, target_language)
|
9 |
|
10 |
return video_path
|