Spaces:
Runtime error
Runtime error
Aguilar Elizondo commited on
Commit ·
0ed57c7
1
Parent(s): c45f1e3
Add negative_prompt parameter to enhance() call
Browse files
app.py
CHANGED
|
@@ -57,6 +57,7 @@ def enhance_image_simple(
|
|
| 57 |
enhanced = pipeline_manager.enhance(
|
| 58 |
image=input_image,
|
| 59 |
prompt="professional architectural photography, highly detailed, 8k, photorealistic",
|
|
|
|
| 60 |
strength=strength,
|
| 61 |
guidance_scale=guidance_scale,
|
| 62 |
num_inference_steps=30
|
|
|
|
| 57 |
enhanced = pipeline_manager.enhance(
|
| 58 |
image=input_image,
|
| 59 |
prompt="professional architectural photography, highly detailed, 8k, photorealistic",
|
| 60 |
+
negative_prompt="blurry, low quality, distorted, ugly, bad architecture",
|
| 61 |
strength=strength,
|
| 62 |
guidance_scale=guidance_scale,
|
| 63 |
num_inference_steps=30
|