Spaces:
Sleeping
Sleeping
update app.py
Browse files
app.py
CHANGED
|
@@ -92,7 +92,7 @@ with gr.Blocks(css=css) as demo:
|
|
| 92 |
label="Negative prompt",
|
| 93 |
max_lines=1,
|
| 94 |
placeholder="Enter a negative prompt",
|
| 95 |
-
visible=
|
| 96 |
)
|
| 97 |
|
| 98 |
with gr.Row():
|
|
@@ -132,7 +132,7 @@ with gr.Blocks(css=css) as demo:
|
|
| 132 |
minimum=256,
|
| 133 |
maximum=MAX_IMAGE_SIZE,
|
| 134 |
step=32,
|
| 135 |
-
value=
|
| 136 |
)
|
| 137 |
|
| 138 |
height = gr.Slider(
|
|
@@ -140,7 +140,7 @@ with gr.Blocks(css=css) as demo:
|
|
| 140 |
minimum=256,
|
| 141 |
maximum=MAX_IMAGE_SIZE,
|
| 142 |
step=32,
|
| 143 |
-
value=
|
| 144 |
)
|
| 145 |
|
| 146 |
|
|
|
|
| 92 |
label="Negative prompt",
|
| 93 |
max_lines=1,
|
| 94 |
placeholder="Enter a negative prompt",
|
| 95 |
+
visible=True,
|
| 96 |
)
|
| 97 |
|
| 98 |
with gr.Row():
|
|
|
|
| 132 |
minimum=256,
|
| 133 |
maximum=MAX_IMAGE_SIZE,
|
| 134 |
step=32,
|
| 135 |
+
value=512, # Replace with defaults that work for your model
|
| 136 |
)
|
| 137 |
|
| 138 |
height = gr.Slider(
|
|
|
|
| 140 |
minimum=256,
|
| 141 |
maximum=MAX_IMAGE_SIZE,
|
| 142 |
step=32,
|
| 143 |
+
value=512, # Replace with defaults that work for your model
|
| 144 |
)
|
| 145 |
|
| 146 |
|