Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
|
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(
|