Spaces:
Runtime error
Runtime error
fix for audio
Browse files
app.py
CHANGED
@@ -40,8 +40,8 @@ def process_speech(audio_input,input_language,target_language):
|
|
40 |
None,
|
41 |
audio_input, #audio_name
|
42 |
"",
|
43 |
-
input_language,#
|
44 |
-
|
45 |
api_name="/run",
|
46 |
)
|
47 |
out = out[1] # get the text
|
|
|
40 |
None,
|
41 |
audio_input, #audio_name
|
42 |
"",
|
43 |
+
input_language,# source language
|
44 |
+
target_language,# target language
|
45 |
api_name="/run",
|
46 |
)
|
47 |
out = out[1] # get the text
|