imorcillo commited on
Commit
6ef53dc
·
verified ·
1 Parent(s): c937cb1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -35,7 +35,7 @@ def transcribe_base(audio, language):
35
  print(response)
36
  except Exception as e:
37
  if "Invalid file: None" in str(e):
38
- return "⚠️ You may have not clicked the stop button or you may need for the audio to load completely."
39
  transcription = response["transcription"]
40
  is_new_speaker = response["is_new_speaker"]
41
  speaker = response["classified_speaker"]
 
35
  print(response)
36
  except Exception as e:
37
  if "Invalid file: None" in str(e):
38
+ return "⚠️ Check that you have clicked the stop button or wait for the audio to load completely."
39
  transcription = response["transcription"]
40
  is_new_speaker = response["is_new_speaker"]
41
  speaker = response["classified_speaker"]