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

Update app.py

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