not-lain commited on
Commit
219ee2d
1 Parent(s): d0f80de

fix for audio

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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,# Use selected input language as the source language
44
- input_language,# Use selected input language as the target language
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