Spaces:
Runtime error
Runtime error
add: button.
Browse files
app.py
CHANGED
@@ -76,6 +76,22 @@ with block:
|
|
76 |
rounded=(True, False, False, True),
|
77 |
container=False,
|
78 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
79 |
gr.HTML(
|
80 |
"""
|
81 |
<div class="acknowledgments">
|
|
|
76 |
rounded=(True, False, False, True),
|
77 |
container=False,
|
78 |
)
|
79 |
+
negative = gr.Textbox(
|
80 |
+
label="Enter your negative prompt",
|
81 |
+
show_label=False,
|
82 |
+
max_lines=1,
|
83 |
+
placeholder="Enter a negative prompt",
|
84 |
+
elem_id="negative-prompt-text-input",
|
85 |
+
).style(
|
86 |
+
border=(True, False, True, True),
|
87 |
+
rounded=(True, False, False, True),
|
88 |
+
container=False,
|
89 |
+
)
|
90 |
+
btn = gr.Button("Generate image").style(
|
91 |
+
margin=False,
|
92 |
+
rounded=(False, True, True, False),
|
93 |
+
full_width=False,
|
94 |
+
)
|
95 |
gr.HTML(
|
96 |
"""
|
97 |
<div class="acknowledgments">
|