This commit is contained in:
2024-11-27 11:07:20 +08:00
commit a8abb92b84
16 changed files with 466 additions and 0 deletions

19
index.py Normal file
View File

@ -0,0 +1,19 @@
from time import sleep
import biz.task
import config
from template import load_local_template
from util import api
from util.system import get_sys_info
load_local_template()
while True:
# print(get_sys_info())
print("waiting for task...")
task_list = api.get_render_task()
for task in task_list:
print("start task:", task)
biz.task.start_task(task)
break