Commit
·
fdc9fcb
1
Parent(s):
387a54c
Update app.py
Browse files
app.py
CHANGED
@@ -234,8 +234,7 @@ with gr.Blocks(css=css) as sdxl:
|
|
234 |
image_style = gr.Dropdown(label="Style", choices=["None style", "Cinematic", "Digital Art", "Portrait"], value="None style", allow_custom_value=False)
|
235 |
text_button = gr.Button("Generate", variant='primary', elem_id="gen-button")
|
236 |
with gr.Row():
|
237 |
-
|
238 |
-
image_output = gr.Image(type="pil", label="Output Image", elem_id="gallery")
|
239 |
|
240 |
text_button.click(query, inputs=[text_prompt, negative_prompt, image_style], outputs=image_output)
|
241 |
|
|
|
234 |
image_style = gr.Dropdown(label="Style", choices=["None style", "Cinematic", "Digital Art", "Portrait"], value="None style", allow_custom_value=False)
|
235 |
text_button = gr.Button("Generate", variant='primary', elem_id="gen-button")
|
236 |
with gr.Row():
|
237 |
+
image_output = gr.Image(type="pil", label="Output Image", elem_id="gallery")
|
|
|
238 |
|
239 |
text_button.click(query, inputs=[text_prompt, negative_prompt, image_style], outputs=image_output)
|
240 |
|