Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,4 +1,3 @@
|
|
1 |
-
|
2 |
import logging
|
3 |
from PIL import Image, PngImagePlugin
|
4 |
from datetime import datetime
|
@@ -134,11 +133,11 @@ with gr.Blocks(css="style.css") as demo:
|
|
134 |
placeholder="Enter a negative prompt",
|
135 |
value=""
|
136 |
)
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
|
143 |
)
|
144 |
with gr.Group(visible=False) as custom_resolution:
|
|
|
|
|
1 |
import logging
|
2 |
from PIL import Image, PngImagePlugin
|
3 |
from datetime import datetime
|
|
|
133 |
placeholder="Enter a negative prompt",
|
134 |
value=""
|
135 |
)
|
136 |
+
aspect_ratio_selector = gr.Radio(
|
137 |
+
label="Aspect Ratio",
|
138 |
+
choices=config.aspect_ratios,
|
139 |
+
value="1024 x 1024",
|
140 |
+
container=True,
|
141 |
|
142 |
)
|
143 |
with gr.Group(visible=False) as custom_resolution:
|