torileatherman commited on
Commit
846cf91
·
1 Parent(s): 7e32570

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ import deepl
5
  import openai
6
 
7
  TARGET_LANG = "EN-GB"
8
- deepl_key = DEEPL
9
 
10
  translator = deepl.Translator(deepl_key)
11
  pipe = pipeline(model="torileatherman/train_first_try") # change to "your-username/the-name-you-picked"
 
5
  import openai
6
 
7
  TARGET_LANG = "EN-GB"
8
+ deepl_key = os.environ.get('DEEPL_KEY')
9
 
10
  translator = deepl.Translator(deepl_key)
11
  pipe = pipeline(model="torileatherman/train_first_try") # change to "your-username/the-name-you-picked"