Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -48,8 +48,8 @@ def generate(
|
|
48 |
negative_prompt: str = "",
|
49 |
use_negative_prompt: bool = False,
|
50 |
seed: int = 1,
|
51 |
-
width: int =
|
52 |
-
height: int =
|
53 |
guidance_scale: float = 3,
|
54 |
num_inference_steps: int = 30,
|
55 |
randomize_seed: bool = False,
|
@@ -154,9 +154,9 @@ with gr.Blocks(css=css) as demo:
|
|
154 |
num_inference_steps = gr.Slider(
|
155 |
label="Number of inference steps",
|
156 |
minimum=1,
|
157 |
-
maximum=
|
158 |
step=1,
|
159 |
-
value=
|
160 |
)
|
161 |
|
162 |
gr.Examples(
|
|
|
48 |
negative_prompt: str = "",
|
49 |
use_negative_prompt: bool = False,
|
50 |
seed: int = 1,
|
51 |
+
width: int = 512,
|
52 |
+
height: int = 768,
|
53 |
guidance_scale: float = 3,
|
54 |
num_inference_steps: int = 30,
|
55 |
randomize_seed: bool = False,
|
|
|
154 |
num_inference_steps = gr.Slider(
|
155 |
label="Number of inference steps",
|
156 |
minimum=1,
|
157 |
+
maximum=50,
|
158 |
step=1,
|
159 |
+
value=28,
|
160 |
)
|
161 |
|
162 |
gr.Examples(
|