nickmuchi commited on
Commit
7c6e5fb
·
1 Parent(s): 8982bf3

Update functions.py

Browse files
Files changed (1) hide show
  1. functions.py +1 -1
functions.py CHANGED
@@ -374,7 +374,7 @@ def inference(link, title, upload, _asr_model):
374
 
375
  results = _asr_model.transcribe(st.session_state['audio'], task='transcribe', language='en')
376
 
377
- return results['text'], None
378
 
379
 
380
  @st.cache_data
 
374
 
375
  results = _asr_model.transcribe(st.session_state['audio'], task='transcribe', language='en')
376
 
377
+ return results['text'], title
378
 
379
 
380
  @st.cache_data