fix the problem of ruff of github

This commit is contained in:
gayshub 2023-12-15 18:03:14 +08:00
parent da45e73b4f
commit 6d7e57ba6a
1 changed files with 0 additions and 1 deletions

View File

@ -340,7 +340,6 @@ class Api:
task_id = create_task_id("text2img")
if txt2imgreq.force_task_id is None:
task_id = txt2imgreq.force_task_id
script_runner = scripts.scripts_txt2img
if not script_runner.scripts:
script_runner.initialize_scripts(False)