Spaces:
Build error
Build error
Commit
·
f36e573
1
Parent(s):
19f2bc7
fix issue
Browse files
app.py
CHANGED
|
@@ -26,8 +26,8 @@ translator = pipeline(
|
|
| 26 |
|
| 27 |
|
| 28 |
def transcribe(audio):
|
| 29 |
-
transcription =
|
| 30 |
-
translation =
|
| 31 |
return transcription["text"], translation["text"]
|
| 32 |
|
| 33 |
|
|
|
|
| 26 |
|
| 27 |
|
| 28 |
def transcribe(audio):
|
| 29 |
+
transcription = transcriptor(audio)
|
| 30 |
+
translation = translator(audio)
|
| 31 |
return transcription["text"], translation["text"]
|
| 32 |
|
| 33 |
|