mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-04-16 07:28:57 +02:00
Removed empty lines left over from merge.
This commit is contained in:
parent
0da0c6bd77
commit
3fc66ec525
@ -290,7 +290,6 @@ def get_base_path(disk_path, session_id, prompt, img_id, ext, suffix=None):
|
|||||||
|
|
||||||
prompt_flattened = filename_regex.sub('_', prompt)[:50]
|
prompt_flattened = filename_regex.sub('_', prompt)[:50]
|
||||||
|
|
||||||
|
|
||||||
if suffix is not None:
|
if suffix is not None:
|
||||||
return os.path.join(session_out_path, f"{prompt_flattened}_{img_id}_{suffix}.{ext}")
|
return os.path.join(session_out_path, f"{prompt_flattened}_{img_id}_{suffix}.{ext}")
|
||||||
return os.path.join(session_out_path, f"{prompt_flattened}_{img_id}.{ext}")
|
return os.path.join(session_out_path, f"{prompt_flattened}_{img_id}.{ext}")
|
||||||
@ -389,7 +388,6 @@ def do_mk_img(req: Request):
|
|||||||
opt_ddim_eta = 0.0
|
opt_ddim_eta = 0.0
|
||||||
opt_init_img = req.init_image
|
opt_init_img = req.init_image
|
||||||
|
|
||||||
|
|
||||||
print(req.to_string(), '\n device', thread_data.device)
|
print(req.to_string(), '\n device', thread_data.device)
|
||||||
print('\n\n Using precision:', thread_data.precision)
|
print('\n\n Using precision:', thread_data.precision)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user