Update app.py
Browse files
app.py
CHANGED
@@ -37,7 +37,7 @@ def asr_transcript(audio, audio_microphone, model_params):
|
|
37 |
audio = audio_microphone if audio_microphone else audio
|
38 |
|
39 |
if audio == None and audio_microphone == None:
|
40 |
-
return "Please provide audio by uploading a file or by recording audio using microphone by pressing Record (And allow usage of microphone)", "Please provide audio by uploading a file or by recording audio using microphone by pressing Record (And allow usage of microphone)"
|
41 |
text = ""
|
42 |
|
43 |
if audio:
|
|
|
37 |
audio = audio_microphone if audio_microphone else audio
|
38 |
|
39 |
if audio == None and audio_microphone == None:
|
40 |
+
return "Please provide audio (wav or mp3) by uploading a file or by recording audio using microphone by pressing Record (And allow usage of microphone)", "Please provide audio by uploading a file or by recording audio using microphone by pressing Record (And allow usage of microphone)"
|
41 |
text = ""
|
42 |
|
43 |
if audio:
|