Spaces:
Runtime error
Runtime error
daniel-rdt
commited on
Commit
•
81e67a0
1
Parent(s):
ebbcb37
small fix
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ def transcribe_url_yt(yt_url):
|
|
25 |
translator = google_translator()
|
26 |
translation = translator.translate(text, src='lt')
|
27 |
|
28 |
-
return text, translation
|
29 |
|
30 |
def transcribe_microphone(audio):
|
31 |
text = pipe(audio)["text"]
|
|
|
25 |
translator = google_translator()
|
26 |
translation = translator.translate(text, src='lt')
|
27 |
|
28 |
+
return text, translation, title, thumbnail
|
29 |
|
30 |
def transcribe_microphone(audio):
|
31 |
text = pipe(audio)["text"]
|