fix the problem of ruff of github
This commit is contained in:
parent
d859de37d9
commit
da45e73b4f
|
@ -340,7 +340,7 @@ class Api:
|
||||||
task_id = create_task_id("text2img")
|
task_id = create_task_id("text2img")
|
||||||
if txt2imgreq.force_task_id is None:
|
if txt2imgreq.force_task_id is None:
|
||||||
task_id = txt2imgreq.force_task_id
|
task_id = txt2imgreq.force_task_id
|
||||||
|
|
||||||
script_runner = scripts.scripts_txt2img
|
script_runner = scripts.scripts_txt2img
|
||||||
if not script_runner.scripts:
|
if not script_runner.scripts:
|
||||||
script_runner.initialize_scripts(False)
|
script_runner.initialize_scripts(False)
|
||||||
|
|
Loading…
Reference in New Issue