Spaces:
Runtime error
Runtime error
Commit
·
846cf91
1
Parent(s):
7e32570
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ import deepl
|
|
5 |
import openai
|
6 |
|
7 |
TARGET_LANG = "EN-GB"
|
8 |
-
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"
|
|
|
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"
|