DGSpitzer commited on
Commit
bbbf651
1 Parent(s): fffc6ae

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -117,7 +117,7 @@ def translate_language(text_prompts):
117
  tips_text = None
118
  #language_code = language_recognition_model.recognize(text_prompts)
119
  language_code = 'en'
120
- if language_code != 'en':
121
  #text_prompts = language_translation_model.translate(text_prompts, language_code, 'en')
122
  except Exception as e:
123
  error_text = str(e)
 
117
  tips_text = None
118
  #language_code = language_recognition_model.recognize(text_prompts)
119
  language_code = 'en'
120
+ #if language_code != 'en':
121
  #text_prompts = language_translation_model.translate(text_prompts, language_code, 'en')
122
  except Exception as e:
123
  error_text = str(e)