Kedreamix commited on
Commit
6603cbf
·
1 Parent(s): 81fdb73

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -77,8 +77,10 @@ def valid_apikey(api_keys):
77
  if result:
78
  valid_api_keys.append(result)
79
  if len(valid_api_keys) > 0:
80
- return "有效的api-key一共有{}个,分别是:{}, 现在可以提交你的paper".format(
81
  len(valid_api_keys), valid_api_keys)
 
 
82
  return "无效的api-key"
83
 
84
 
 
77
  if result:
78
  valid_api_keys.append(result)
79
  if len(valid_api_keys) > 0:
80
+ text = "有效的api-key一共有{}个,分别是:{}, 现在可以提交你的paper".format(
81
  len(valid_api_keys), valid_api_keys)
82
+ valid_api_keys = []
83
+ return text
84
  return "无效的api-key"
85
 
86