Update functions.py
Browse files- functions.py +1 -1
functions.py
CHANGED
@@ -378,7 +378,7 @@ def inference(link, upload, _asr_model):
|
|
378 |
|
379 |
results = _asr_model.transcribe(st.session_state['audio'], task='transcribe', language='en')
|
380 |
|
381 |
-
return results['text'],
|
382 |
|
383 |
|
384 |
@st.cache_data
|
|
|
378 |
|
379 |
results = _asr_model.transcribe(st.session_state['audio'], task='transcribe', language='en')
|
380 |
|
381 |
+
return results['text'], None
|
382 |
|
383 |
|
384 |
@st.cache_data
|