Spaces:
Running
Running
admin
commited on
Commit
•
eca06e7
1
Parent(s):
163fe52
Update app.py
Browse files
app.py
CHANGED
@@ -184,7 +184,7 @@ def monitor(hf_users: str, ms_users: str, period=4):
|
|
184 |
if schedule.get_jobs():
|
185 |
return
|
186 |
|
187 |
-
print(f"监控开启中...每{period}
|
188 |
fixed_activate = partial(activate, hf_users=hf_users, ms_users=ms_users)
|
189 |
schedule.every(period).hours.do(fixed_activate)
|
190 |
while True:
|
|
|
184 |
if schedule.get_jobs():
|
185 |
return
|
186 |
|
187 |
+
print(f"监控开启中...每 {period} 小时触发")
|
188 |
fixed_activate = partial(activate, hf_users=hf_users, ms_users=ms_users)
|
189 |
schedule.every(period).hours.do(fixed_activate)
|
190 |
while True:
|