Commit
·
387a54c
1
Parent(s):
e12a504
Update app.py
Browse files
app.py
CHANGED
@@ -228,12 +228,11 @@ with gr.Blocks(css=css) as sdxl:
|
|
228 |
"""
|
229 |
)
|
230 |
|
231 |
-
with gr.Row():
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
text_button = gr.Button("Generate", variant='primary', elem_id="gen-button")
|
237 |
with gr.Row():
|
238 |
with gr.Column(scale=1):
|
239 |
image_output = gr.Image(type="pil", label="Output Image", elem_id="gallery")
|
|
|
228 |
"""
|
229 |
)
|
230 |
|
231 |
+
with gr.Row(elem_id="prompt-container"):
|
232 |
+
text_prompt = gr.Textbox(label="Prompt", placeholder="a cute cat", lines=1, elem_id="prompt-text-input")
|
233 |
+
negative_prompt = gr.Textbox(label="Negative Prompt", value="text, blurry, fuzziness", lines=1, elem_id="negative-prompt-text-input")
|
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 |
with gr.Column(scale=1):
|
238 |
image_output = gr.Image(type="pil", label="Output Image", elem_id="gallery")
|