Update app.py
Browse files
app.py
CHANGED
@@ -141,8 +141,6 @@ def translate(input_text, inputs_transStyle):
|
|
141 |
|
142 |
|
143 |
# 在 https://platform.openai.com/signup 注册并获取 API 密钥
|
144 |
-
#openai.api_key = "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"
|
145 |
-
|
146 |
|
147 |
openai.api_key = os.getenv('OPENAI_API_KEY')
|
148 |
|
|
|
141 |
|
142 |
|
143 |
# 在 https://platform.openai.com/signup 注册并获取 API 密钥
|
|
|
|
|
144 |
|
145 |
openai.api_key = os.getenv('OPENAI_API_KEY')
|
146 |
|