Spaces:
Runtime error
Runtime error
jawadrashid
commited on
Commit
•
01d9054
1
Parent(s):
6ae7986
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ def transcribe_speech(filepath):
|
|
10 |
if filepath is None:
|
11 |
gr.Warning("No audio found, please retry.")
|
12 |
return ""
|
13 |
-
output =
|
14 |
return output["text"]
|
15 |
|
16 |
|
|
|
10 |
if filepath is None:
|
11 |
gr.Warning("No audio found, please retry.")
|
12 |
return ""
|
13 |
+
output = transcriber (filepath)
|
14 |
return output["text"]
|
15 |
|
16 |
|