Spaces:
Runtime error
Runtime error
str split v2
Browse files
app.py
CHANGED
|
@@ -36,8 +36,7 @@ def transcribe(microphone, file_upload):
|
|
| 36 |
file = microphone if microphone is not None else file_upload
|
| 37 |
|
| 38 |
text = pipe(file)["text"]
|
| 39 |
-
|
| 40 |
-
return warn_output + " textoo"
|
| 41 |
|
| 42 |
|
| 43 |
def _return_yt_html_embed(yt_url):
|
|
|
|
| 36 |
file = microphone if microphone is not None else file_upload
|
| 37 |
|
| 38 |
text = pipe(file)["text"]
|
| 39 |
+
return warn_output + str(text).split()
|
|
|
|
| 40 |
|
| 41 |
|
| 42 |
def _return_yt_html_embed(yt_url):
|