RASMUS commited on
Commit
43da152
1 Parent(s): 9165c53

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -206,7 +206,7 @@ def translate_transcriptions(df, selected_translation_lang_2):
206
 
207
  data = {'text': text_combined,
208
  'tag_spitting': 'xml',
209
- 'target_lang': DeepL_language_codes.get(selected_source_lang_2)
210
  }
211
  response = requests.post('https://api-free.deepl.com/v2/translate', headers=headers, data=data)
212
 
 
206
 
207
  data = {'text': text_combined,
208
  'tag_spitting': 'xml',
209
+ 'target_lang': DeepL_language_codes_for_translation.get(selected_translation_lang_2)
210
  }
211
  response = requests.post('https://api-free.deepl.com/v2/translate', headers=headers, data=data)
212