nickmuchi commited on
Commit
26432a5
1 Parent(s): b38b575

Update functions.py

Browse files
Files changed (1) hide show
  1. functions.py +2 -2
functions.py CHANGED
@@ -370,8 +370,8 @@ def inference(link, upload, _asr_model):
370
 
371
  except Exception as e:
372
 
373
- st.warning(f'''Whisper API Error: {e},
374
- Using Whisper module from GitHub, might take longer than expected''',icon="⚠️")
375
 
376
  results = _asr_model.transcribe(st.session_state['audio'], task='transcribe', language='en')
377
 
 
370
 
371
  except Exception as e:
372
 
373
+ st.error(f'''Whisper API Error: {e},
374
+ Using Whisper module from GitHub, might take longer than expected''',icon="🚨")
375
 
376
  results = _asr_model.transcribe(st.session_state['audio'], task='transcribe', language='en')
377