Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -251,7 +251,7 @@ def infer(
|
|
| 251 |
negative_prompt: str = "lowres, {bad}, error, fewer, extra, missing, worst quality, jpeg artifacts, bad quality, watermark, unfinished, displeasing, chromatic aberration, signature, extra digits, artistic error, username, scan, [abstract]",
|
| 252 |
use_negative_prompt: bool = True,
|
| 253 |
seed: int = 7,
|
| 254 |
-
width: int =
|
| 255 |
height: int = 1216,
|
| 256 |
guidance_scale: float = 3,
|
| 257 |
num_inference_steps: int = 30,
|
|
@@ -343,7 +343,7 @@ with gr.Blocks(css=css) as demo:
|
|
| 343 |
minimum=512,
|
| 344 |
maximum=MAX_IMAGE_SIZE,
|
| 345 |
step=64,
|
| 346 |
-
value=
|
| 347 |
)
|
| 348 |
height = gr.Slider(
|
| 349 |
label="高度",
|
|
|
|
| 251 |
negative_prompt: str = "lowres, {bad}, error, fewer, extra, missing, worst quality, jpeg artifacts, bad quality, watermark, unfinished, displeasing, chromatic aberration, signature, extra digits, artistic error, username, scan, [abstract]",
|
| 252 |
use_negative_prompt: bool = True,
|
| 253 |
seed: int = 7,
|
| 254 |
+
width: int = 832,
|
| 255 |
height: int = 1216,
|
| 256 |
guidance_scale: float = 3,
|
| 257 |
num_inference_steps: int = 30,
|
|
|
|
| 343 |
minimum=512,
|
| 344 |
maximum=MAX_IMAGE_SIZE,
|
| 345 |
step=64,
|
| 346 |
+
value=832,
|
| 347 |
)
|
| 348 |
height = gr.Slider(
|
| 349 |
label="高度",
|