Adding resolution control tab
Browse files
app.py
CHANGED
@@ -214,6 +214,11 @@ with gr.Blocks (theme=gr.themes.Default(primary_hue="pink", secondary_hue="pink"
|
|
214 |
seed = gr.Slider(label="Seed", value=-1, minimum=-1, maximum=1000000000, step=1)
|
215 |
# with gr.Row():
|
216 |
# gpt = gr.Checkbox(label="ChatGPT")
|
|
|
|
|
|
|
|
|
|
|
217 |
|
218 |
with gr.Tab("Information"):
|
219 |
with gr.Row():
|
|
|
214 |
seed = gr.Slider(label="Seed", value=-1, minimum=-1, maximum=1000000000, step=1)
|
215 |
# with gr.Row():
|
216 |
# gpt = gr.Checkbox(label="ChatGPT")
|
217 |
+
|
218 |
+
with gr.Tab("Size"):
|
219 |
+
with gr.Row():
|
220 |
+
width = gr.Slider(label="Width", minimum=15, maximum=2000, value=1024, step=1)
|
221 |
+
height = gr.Slider(label="Height", minimum=15, maximum=2000, value=1024, step=1)
|
222 |
|
223 |
with gr.Tab("Information"):
|
224 |
with gr.Row():
|