mirror of
https://github.com/Wan-Video/Wan2.1.git
synced 2025-11-04 22:26:36 +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")
|
||||
if inputs == None:
|
||||
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)
|
||||
prompt = inputs["prompt"]
|
||||
if len(prompt) ==0:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user