ehristoforu
commited on
Commit
•
520f6d6
1
Parent(s):
51bd190
Update app.py
Browse files
app.py
CHANGED
@@ -196,7 +196,6 @@ with gr.Blocks(css=css) as demo:
|
|
196 |
"""
|
197 |
)
|
198 |
with gr.Group():
|
199 |
-
|
200 |
with gr.Box():
|
201 |
with gr.Row(elem_id="prompt-container").style(mobile_collapse=False, equal_height=True):
|
202 |
with gr.Column():
|
@@ -206,9 +205,7 @@ with gr.Blocks(css=css) as demo:
|
|
206 |
text_button = gr.Button("Generate").style(margin=False, rounded=(False, True, True, False), full_width=False)
|
207 |
|
208 |
|
209 |
-
|
210 |
-
image_style = gr.Radio(label="Style", choices=["None style", "Cinematic", "Digital Art", "Portrait"], value="None style")
|
211 |
-
|
212 |
text_button.click(query, inputs=[text_prompt, negative_prompt, image_style], outputs=gallery_output)
|
213 |
|
214 |
demo.launch(show_api=False)
|
|
|
196 |
"""
|
197 |
)
|
198 |
with gr.Group():
|
|
|
199 |
with gr.Box():
|
200 |
with gr.Row(elem_id="prompt-container").style(mobile_collapse=False, equal_height=True):
|
201 |
with gr.Column():
|
|
|
205 |
text_button = gr.Button("Generate").style(margin=False, rounded=(False, True, True, False), full_width=False)
|
206 |
|
207 |
|
208 |
+
|
|
|
|
|
209 |
text_button.click(query, inputs=[text_prompt, negative_prompt, image_style], outputs=gallery_output)
|
210 |
|
211 |
demo.launch(show_api=False)
|