BoldActionMan
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -55,9 +55,6 @@ def process_video(video_file, language_choice):
|
|
55 |
print(sttresult["text"])
|
56 |
print(sttresult["language"])
|
57 |
|
58 |
-
if sttresult["language"] == language_choice:
|
59 |
-
return video_file
|
60 |
-
|
61 |
# Get the segments with start and end times
|
62 |
segments = sttresult['segments']
|
63 |
|
|
|
55 |
print(sttresult["text"])
|
56 |
print(sttresult["language"])
|
57 |
|
|
|
|
|
|
|
58 |
# Get the segments with start and end times
|
59 |
segments = sttresult['segments']
|
60 |
|