mirror of
https://github.com/Wan-Video/Wan2.1.git
synced 2025-11-04 14:16:57 +00:00
return gr text
This commit is contained in:
parent
98a946ebb0
commit
aa120ef46e
3
wgp.py
3
wgp.py
@ -5402,9 +5402,8 @@ def process_tasks(state):
|
||||
if abort:
|
||||
gen["abort"] = False
|
||||
status = "Video Generation Aborted", "Video Generation Aborted"
|
||||
# yield gr.Text(), gr.Text()
|
||||
# yield time.time() , time.time()
|
||||
gen["status"] = status
|
||||
return gr.Text(), gr.Text()
|
||||
|
||||
queue[:] = [item for item in queue if item['id'] != task['id']]
|
||||
update_global_queue_ref(queue)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user