mirror of
https://github.com/Wan-Video/Wan2.1.git
synced 2025-11-05 06:29:14 +00:00
fix no inputs warning (2)
This commit is contained in:
parent
1cad8d429e
commit
6f4714ea19
2
wgp.py
2
wgp.py
@ -104,6 +104,8 @@ def process_prompt_and_add_tasks(state, model_choice):
|
|||||||
inputs.pop("lset_name")
|
inputs.pop("lset_name")
|
||||||
if inputs == None:
|
if inputs == None:
|
||||||
gr.Warning("Internal state error: Could not retrieve inputs for the model.")
|
gr.Warning("Internal state error: Could not retrieve inputs for the model.")
|
||||||
|
gen = get_gen_info(state)
|
||||||
|
queue = gen.get("queue", [])
|
||||||
return get_queue_table(queue)
|
return get_queue_table(queue)
|
||||||
prompt = inputs["prompt"]
|
prompt = inputs["prompt"]
|
||||||
if len(prompt) ==0:
|
if len(prompt) ==0:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user