Spaces:
Runtime error
Runtime error
Commit
Β·
75d45a1
1
Parent(s):
b65cd60
Fixed indent
Browse files
app.py
CHANGED
@@ -171,7 +171,7 @@ with gr.Blocks(css=".gradio-container {max-width: 650px}") as dropdown_tab:
|
|
171 |
height = gr.Slider(144, 4200, label="height", dtype=int, value=default_pixel, step=8, interactive=True)
|
172 |
gr.Markdown("<u>heads-up</u>: Height multiplied by width should not exceed about 645,000 or an error may occur. If an error occours refresh your browser tab or errors will continue. If you exceed this range the app will attempt to avoid an error by lowering your input height. We are actively seeking out ways to handle higher resolutions!")
|
173 |
|
174 |
-
|
175 |
output = gr.Image(elem_id="output-image")
|
176 |
output_text = gr.Text(elem_id="output-text")
|
177 |
# go_button.click(fn=image_prompt, inputs=[prompt, dropdown, guidance, steps, seed, height, width], outputs=[output, output_text])
|
|
|
171 |
height = gr.Slider(144, 4200, label="height", dtype=int, value=default_pixel, step=8, interactive=True)
|
172 |
gr.Markdown("<u>heads-up</u>: Height multiplied by width should not exceed about 645,000 or an error may occur. If an error occours refresh your browser tab or errors will continue. If you exceed this range the app will attempt to avoid an error by lowering your input height. We are actively seeking out ways to handle higher resolutions!")
|
173 |
|
174 |
+
go_button = gr.Button("generate image", elem_id="go-button")
|
175 |
output = gr.Image(elem_id="output-image")
|
176 |
output_text = gr.Text(elem_id="output-text")
|
177 |
# go_button.click(fn=image_prompt, inputs=[prompt, dropdown, guidance, steps, seed, height, width], outputs=[output, output_text])
|