mirror of
https://github.com/Wan-Video/Wan2.1.git
synced 2025-12-17 04:33:23 +00:00
removed debug msgs
This commit is contained in:
parent
dbbb87d075
commit
e487a453f7
4
wgp.py
4
wgp.py
@ -2873,7 +2873,7 @@ def process_images_multithread(image_processor, items, process_type, wrap_in_lis
|
|||||||
|
|
||||||
import concurrent.futures
|
import concurrent.futures
|
||||||
start_time = time.time()
|
start_time = time.time()
|
||||||
print(f"Preprocessus:{process_type} started")
|
# print(f"Preprocessus:{process_type} started")
|
||||||
if process_type in ["prephase", "upsample"]:
|
if process_type in ["prephase", "upsample"]:
|
||||||
if wrap_in_list :
|
if wrap_in_list :
|
||||||
items = [ [img] for img in items]
|
items = [ [img] for img in items]
|
||||||
@ -2890,7 +2890,7 @@ def process_images_multithread(image_processor, items, process_type, wrap_in_lis
|
|||||||
results= image_processor(items)
|
results= image_processor(items)
|
||||||
|
|
||||||
end_time = time.time()
|
end_time = time.time()
|
||||||
print(f"duration:{end_time-start_time:.1f}")
|
# print(f"duration:{end_time-start_time:.1f}")
|
||||||
|
|
||||||
return results
|
return results
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user