尝试传入resolution,不使用scale自适应模板

This commit is contained in:
2025-04-28 14:54:30 +08:00
parent f139fbccd7
commit 1603be9157
3 changed files with 14 additions and 2 deletions

5
app.py
View File

@ -1,3 +1,5 @@
import time
import flask
import config
@ -17,8 +19,9 @@ app = flask.Flask(__name__)
def do_task(task_id):
task_info = api.get_task_info(task_id)
biz.task.start_task(task_info)
time.sleep(1) # for telemetry upload traces
return "OK"
if __name__ == '__main__':
app.run(host="0.0.0.0", port=9998)
app.run(host="0.0.0.0", port=9998)