Spaces:
Runtime error
Runtime error
Commit
·
bbeac87
1
Parent(s):
7efaeeb
Update app.py
Browse files
app.py
CHANGED
@@ -32,7 +32,7 @@ source_image = load_image('https://huggingface.co/lllyasviel/control_v11f1e_sd15
|
|
32 |
def super_esr(source_image,prompt,negative_prompt,strength,seed,num_inference_steps):
|
33 |
condition_image = resize_for_condition_image(source_image, 1024)
|
34 |
image = pipe(prompt=prompt,#"best quality",
|
35 |
-
negative_prompt="blur, lowres, bad anatomy, bad hands, cropped, worst quality",
|
36 |
image=condition_image,
|
37 |
controlnet_conditioning_image=condition_image,
|
38 |
width=condition_image.size[0],
|
|
|
32 |
def super_esr(source_image,prompt,negative_prompt,strength,seed,num_inference_steps):
|
33 |
condition_image = resize_for_condition_image(source_image, 1024)
|
34 |
image = pipe(prompt=prompt,#"best quality",
|
35 |
+
negative_prompt=negative_prompt,#"blur, lowres, bad anatomy, bad hands, cropped, worst quality",
|
36 |
image=condition_image,
|
37 |
controlnet_conditioning_image=condition_image,
|
38 |
width=condition_image.size[0],
|