Spaces:
Runtime error
Runtime error
app.py
CHANGED
@@ -23,6 +23,7 @@ def speech_to_text(tmp_filename, model_size):
|
|
23 |
|
24 |
# print the recognized text
|
25 |
print(result.text)
|
|
|
26 |
|
27 |
|
28 |
gr.Interface(
|
|
|
23 |
|
24 |
# print the recognized text
|
25 |
print(result.text)
|
26 |
+
return result.text
|
27 |
|
28 |
|
29 |
gr.Interface(
|