Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -78,9 +78,8 @@ def translate(audio):
|
|
78 |
Sending audio to Whisper ...
|
79 |
—
|
80 |
""")
|
81 |
-
|
82 |
-
text_result = whisper(audio, None, "transcribe", fn_index=0)
|
83 |
#_, text_result = whisper(audio, "", fn_index=0)
|
|
|
84 |
print(text_result)
|
85 |
return text_result
|
86 |
|
|
|
78 |
Sending audio to Whisper ...
|
79 |
—
|
80 |
""")
|
|
|
|
|
81 |
#_, text_result = whisper(audio, "", fn_index=0)
|
82 |
+
text_result = whisper(audio, None, "transcribe", fn_index=0)
|
83 |
print(text_result)
|
84 |
return text_result
|
85 |
|