Update app.py
Browse files
app.py
CHANGED
@@ -106,13 +106,7 @@ with gr.Blocks(css=css) as dalle:
|
|
106 |
method = gr.Radio(label="Sampling method", value="DPM++ 2M Karras", choices=["DPM++ 2M Karras", "DPM++ SDE Karras", "Euler", "Euler a", "Heun", "DDIM"])
|
107 |
with gr.Row():
|
108 |
seed = gr.Slider(label="Seed", value=-1, minimum=-1, maximum=1000000000, step=1)
|
109 |
-
"""
|
110 |
-
with gr.Tab("Beta"):
|
111 |
-
with gr.Row():
|
112 |
-
width = gr.Slider(label="Ширина", value=512, minimum=15, maximum=1024, step=1)
|
113 |
-
height = gr.Slider(label="Длина", value=512, minimum=15, maximum=1024, step=1)
|
114 |
|
115 |
-
"""
|
116 |
|
117 |
with gr.Row():
|
118 |
text_button = gr.Button("Генерация", variant='primary', elem_id="gen-button")
|
|
|
106 |
method = gr.Radio(label="Sampling method", value="DPM++ 2M Karras", choices=["DPM++ 2M Karras", "DPM++ SDE Karras", "Euler", "Euler a", "Heun", "DDIM"])
|
107 |
with gr.Row():
|
108 |
seed = gr.Slider(label="Seed", value=-1, minimum=-1, maximum=1000000000, step=1)
|
|
|
|
|
|
|
|
|
|
|
109 |
|
|
|
110 |
|
111 |
with gr.Row():
|
112 |
text_button = gr.Button("Генерация", variant='primary', elem_id="gen-button")
|