Commit 2c02012d authored by chenpangpang's avatar chenpangpang
Browse files

feat: 删除Debug字样避免误会

parent aae34b1f
......@@ -72,7 +72,7 @@ def generate_image(upload_images, prompt, negative_prompt, aspect_ratio_name, st
# determine output dimensions by the aspect ratio
output_w, output_h = aspect_ratios[aspect_ratio_name]
print(f"[Debug] Generate image using aspect ratio [{aspect_ratio_name}] => {output_w} x {output_h}")
print(f"Generate image using aspect ratio [{aspect_ratio_name}] => {output_w} x {output_h}")
# apply the style template
prompt, negative_prompt = apply_style(style_name, prompt, negative_prompt)
......@@ -87,7 +87,7 @@ def generate_image(upload_images, prompt, negative_prompt, aspect_ratio_name, st
generator = torch.Generator(device=device).manual_seed(seed)
print("Start inference...")
print(f"[Debug] Prompt: {prompt}, \n[Debug] Neg Prompt: {negative_prompt}")
print(f"Prompt: {prompt}, \n Neg Prompt: {negative_prompt}")
start_merge_step = int(float(style_strength_ratio) / 100 * num_steps)
if start_merge_step > 30:
start_merge_step = 30
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment