Spaces:
Sleeping
Sleeping
EnzoBustos
commited on
Commit
•
123d7bc
1
Parent(s):
7732184
Update app.py
Browse files
app.py
CHANGED
@@ -57,7 +57,7 @@ def load_nltk():
|
|
57 |
#Make the ASR task
|
58 |
@st.cache_data
|
59 |
def audio_speech_recognition(_model_pipeline, video_id):
|
60 |
-
return _model_pipeline(
|
61 |
|
62 |
#Make the Summarization task
|
63 |
@st.cache_data
|
|
|
57 |
#Make the ASR task
|
58 |
@st.cache_data
|
59 |
def audio_speech_recognition(_model_pipeline, video_id):
|
60 |
+
return _model_pipeline(video_id + ".mp3", batch_size=64)["text"].strip()
|
61 |
|
62 |
#Make the Summarization task
|
63 |
@st.cache_data
|