99i commited on
Commit
16fa758
·
verified ·
1 Parent(s): f81aaa7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -37,7 +37,10 @@ else:
37
  "bge-m3":"BAAI/bge-m3",
38
  "bge-zh":"BAAI/bge-large-zh-v1.5"
39
  }
40
- keys=os.environ.get("SI_KEY").split(",")
 
 
 
41
  key_balacnce={}
42
  key_balacnce_notes=""
43
  # 创建一个东八区的时区对象
 
37
  "bge-m3":"BAAI/bge-m3",
38
  "bge-zh":"BAAI/bge-large-zh-v1.5"
39
  }
40
+ if os.environ.get("SI_KEY"):
41
+ keys=os.environ.get("SI_KEY").split(",")
42
+ else:
43
+ keys=["sk-jopguysfqvrlciqjvlydkbxtynqagxqdhmrprfjivupuutfk","sk-bvkqkygxqrusyhdfrqoyoctqfhnxylpuoajgfzbtkhiecffo","sk-eeoefacvytttokuwhslnvjazspigjhrdkhxuzdrxrizrpeep"]
44
  key_balacnce={}
45
  key_balacnce_notes=""
46
  # 创建一个东八区的时区对象