ehristoforu
commited on
Commit
•
96bbd5e
1
Parent(s):
34b2591
Update app.py
Browse files
app.py
CHANGED
@@ -83,14 +83,13 @@ with gr.Blocks(css=css) as demo:
|
|
83 |
)
|
84 |
with gr.Group():
|
85 |
|
86 |
-
with gr.Row(
|
87 |
-
|
88 |
-
|
89 |
with gr.Row():
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
text_button = gr.Button("Generate")
|
94 |
|
95 |
|
96 |
|
|
|
83 |
)
|
84 |
with gr.Group():
|
85 |
|
86 |
+
with gr.Row():
|
87 |
+
gallery_output = gr.Gallery(label="Generated images", show_label=False, elem_id="gallery").style(grid=[4], height="auto")
|
88 |
+
|
89 |
with gr.Row():
|
90 |
+
text_prompt = gr.Textbox(show_label=False, placeholder="Enter your prompt", max_lines=1)
|
91 |
+
negative_prompt = gr.Textbox(show_label=False, placeholder="Enter a negative", max_lines=1)
|
92 |
+
text_button = gr.Button("Generate")
|
|
|
93 |
|
94 |
|
95 |
|