alecinvan commited on
Commit
3877fca
1 Parent(s): f58d121

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -141,7 +141,8 @@ 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
  def generate_summary(text_input):
147
  response = openai.ChatCompletion.create(
 
141
 
142
 
143
  # 在 https://platform.openai.com/signup 注册并获取 API 密钥
144
+ #openai.api_key = "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"
145
+ openai.api_key = openai_api_key
146
 
147
  def generate_summary(text_input):
148
  response = openai.ChatCompletion.create(