fix the problem of ruff of github
This commit is contained in:
parent
da45e73b4f
commit
6d7e57ba6a
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue