Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -55,8 +55,8 @@ def generate(
|
|
55 |
negative_prompt: str = "",
|
56 |
use_negative_prompt: bool = False,
|
57 |
seed: int = 0,
|
58 |
-
width: int =
|
59 |
-
height: int =
|
60 |
guidance_scale: float = 3,
|
61 |
num_inference_steps: int = 10,
|
62 |
randomize_seed: bool = False,
|
@@ -142,14 +142,14 @@ with gr.Blocks(css=css) as demo:
|
|
142 |
minimum=512,
|
143 |
maximum=MAX_IMAGE_SIZE,
|
144 |
step=64,
|
145 |
-
value=
|
146 |
)
|
147 |
height = gr.Slider(
|
148 |
label="Height",
|
149 |
minimum=512,
|
150 |
maximum=MAX_IMAGE_SIZE,
|
151 |
step=64,
|
152 |
-
value=
|
153 |
)
|
154 |
with gr.Row():
|
155 |
guidance_scale = gr.Slider(
|
|
|
55 |
negative_prompt: str = "",
|
56 |
use_negative_prompt: bool = False,
|
57 |
seed: int = 0,
|
58 |
+
width: int = 1024,
|
59 |
+
height: int = 1024,
|
60 |
guidance_scale: float = 3,
|
61 |
num_inference_steps: int = 10,
|
62 |
randomize_seed: bool = False,
|
|
|
142 |
minimum=512,
|
143 |
maximum=MAX_IMAGE_SIZE,
|
144 |
step=64,
|
145 |
+
value=1024,
|
146 |
)
|
147 |
height = gr.Slider(
|
148 |
label="Height",
|
149 |
minimum=512,
|
150 |
maximum=MAX_IMAGE_SIZE,
|
151 |
step=64,
|
152 |
+
value=1024,
|
153 |
)
|
154 |
with gr.Row():
|
155 |
guidance_scale = gr.Slider(
|