Spaces:
Sleeping
Sleeping
Update src/app.py
Browse files- src/app.py +2 -2
src/app.py
CHANGED
|
@@ -123,7 +123,7 @@ def process(
|
|
| 123 |
input_image: Image.Image,
|
| 124 |
prompt: str = "masterpiece, best quality, highres",
|
| 125 |
negative_prompt: str = "worst quality, low quality, normal quality",
|
| 126 |
-
seed: int =
|
| 127 |
upscale_factor: int = 2,
|
| 128 |
controlnet_scale: float = 0.6,
|
| 129 |
controlnet_decay: float = 1.0,
|
|
@@ -131,7 +131,7 @@ def process(
|
|
| 131 |
tile_width: int = 112,
|
| 132 |
tile_height: int = 144,
|
| 133 |
denoise_strength: float = 0.35,
|
| 134 |
-
num_inference_steps: int =
|
| 135 |
solver: str = "DDIM",
|
| 136 |
) -> tuple[Image.Image, Image.Image]:
|
| 137 |
manual_seed(seed)
|
|
|
|
| 123 |
input_image: Image.Image,
|
| 124 |
prompt: str = "masterpiece, best quality, highres",
|
| 125 |
negative_prompt: str = "worst quality, low quality, normal quality",
|
| 126 |
+
seed: int = 199,
|
| 127 |
upscale_factor: int = 2,
|
| 128 |
controlnet_scale: float = 0.6,
|
| 129 |
controlnet_decay: float = 1.0,
|
|
|
|
| 131 |
tile_width: int = 112,
|
| 132 |
tile_height: int = 144,
|
| 133 |
denoise_strength: float = 0.35,
|
| 134 |
+
num_inference_steps: int = 25,
|
| 135 |
solver: str = "DDIM",
|
| 136 |
) -> tuple[Image.Image, Image.Image]:
|
| 137 |
manual_seed(seed)
|