Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ model.eval()
|
|
7 |
|
8 |
def transcribe(audio):
|
9 |
if audio is None:
|
10 |
-
raise gr.InterfaceError("Please provide some input audio
|
11 |
|
12 |
# Perform speech recognition
|
13 |
transcription = model.transcribe([audio])
|
|
|
7 |
|
8 |
def transcribe(audio):
|
9 |
if audio is None:
|
10 |
+
raise gr.InterfaceError("Please provide some input audio")
|
11 |
|
12 |
# Perform speech recognition
|
13 |
transcription = model.transcribe([audio])
|