Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -21,7 +21,7 @@ def transcribe_inp(microphone, file_upload):
|
|
| 21 |
|
| 22 |
file = microphone if microphone is not None else file_upload
|
| 23 |
|
| 24 |
-
text = model
|
| 25 |
|
| 26 |
return warn_output + text
|
| 27 |
|
|
|
|
| 21 |
|
| 22 |
file = microphone if microphone is not None else file_upload
|
| 23 |
|
| 24 |
+
text = model(file)["text"]
|
| 25 |
|
| 26 |
return warn_output + text
|
| 27 |
|