Spaces:
Runtime error
Runtime error
Commit
·
b7c73b0
1
Parent(s):
3ae50c8
fix for v1.1.0 version, removed info window
Browse files
app.py
CHANGED
@@ -69,7 +69,8 @@ def get_transcripts(url: str):
|
|
69 |
try:
|
70 |
transcript = transcript_list.find_manually_created_transcript(['en'])
|
71 |
except NoTranscriptFound as e:
|
72 |
-
|
|
|
73 |
transcript = transcript_list.find_generated_transcript(['en'])
|
74 |
|
75 |
subtitles = transcript.fetch()
|
|
|
69 |
try:
|
70 |
transcript = transcript_list.find_manually_created_transcript(['en'])
|
71 |
except NoTranscriptFound as e:
|
72 |
+
# Doesn't work on HuggingFace v1.1.0 version
|
73 |
+
# st.info('No manual transcripts were found, trying to load generated ones...')
|
74 |
transcript = transcript_list.find_generated_transcript(['en'])
|
75 |
|
76 |
subtitles = transcript.fetch()
|