Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 "⚠️
|
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"]
|