Update server.py
Browse files
server.py
CHANGED
|
@@ -281,7 +281,7 @@ def check_api1():
|
|
| 281 |
n=0
|
| 282 |
while True:
|
| 283 |
n = n + 1
|
| 284 |
-
if st_status
|
| 285 |
print("/sillytavern 文件不存在,结束检测")
|
| 286 |
break
|
| 287 |
try:
|
|
@@ -307,7 +307,7 @@ def check_api1():
|
|
| 307 |
n = 0
|
| 308 |
while True:
|
| 309 |
n = n + 1
|
| 310 |
-
if st_status
|
| 311 |
print("/sillytavern 文件不存在,结束检测")
|
| 312 |
break
|
| 313 |
if Service_status:
|
|
|
|
| 281 |
n=0
|
| 282 |
while True:
|
| 283 |
n = n + 1
|
| 284 |
+
if st_status == False and n > 50:
|
| 285 |
print("/sillytavern 文件不存在,结束检测")
|
| 286 |
break
|
| 287 |
try:
|
|
|
|
| 307 |
n = 0
|
| 308 |
while True:
|
| 309 |
n = n + 1
|
| 310 |
+
if st_status == False and n > 50:
|
| 311 |
print("/sillytavern 文件不存在,结束检测")
|
| 312 |
break
|
| 313 |
if Service_status:
|