Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ pipe = pipeline("automatic-speech-recognition", model="FredBonux/whisper-small-i
|
|
13 |
def transcribe(audio):
|
14 |
ita = pipe(audio)["text"]
|
15 |
eng = translator.translate_text(ita, target_lang=TARGET_LANG).text
|
16 |
-
print(f"{ita} -> {
|
17 |
return ita, eng
|
18 |
|
19 |
def transcribe_url(url):
|
|
|
13 |
def transcribe(audio):
|
14 |
ita = pipe(audio)["text"]
|
15 |
eng = translator.translate_text(ita, target_lang=TARGET_LANG).text
|
16 |
+
print(f"{ita} -> {eng}")
|
17 |
return ita, eng
|
18 |
|
19 |
def transcribe_url(url):
|