imorcillo commited on
Commit
44c1ffc
·
verified ·
1 Parent(s): 769531c

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 "⚠️ Please wait 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 "⚠️ 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"]