mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2024-06-07 21:20:49 +00:00
remove camelcase
This commit is contained in:
parent
3992ecbe6e
commit
991368c8d5
@ -260,7 +260,7 @@ def calc_resolution_hires(x, y, scale):
|
||||
scaled_x = int(x * scale // 8) * 8
|
||||
scaled_y = int(y * scale // 8) * 8
|
||||
|
||||
return "<p style='margin: -1em 0em 0.7em 1.35em'>Upscaled Resolution: "+str(scaled_x)+"x"+str(scaled_y)+"</p>"
|
||||
return "<p style='margin: -1em 0em 0.7em 1.35em'>Upscaled resolution: "+str(scaled_x)+"x"+str(scaled_y)+"</p>"
|
||||
|
||||
def apply_styles(prompt, prompt_neg, style1_name, style2_name):
|
||||
prompt = shared.prompt_styles.apply_styles_to_prompt(prompt, [style1_name, style2_name])
|
||||
|
Loading…
Reference in New Issue
Block a user