Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -187,22 +187,16 @@ footer {
|
|
187 |
'''
|
188 |
with gr.Blocks(css=css, theme="bethecloud/storj_theme") as demo:
|
189 |
gr.Markdown(DESCRIPTION)
|
190 |
-
gr.DuplicateButton(
|
191 |
-
value="Duplicate Space for private use",
|
192 |
-
elem_id="duplicate-button",
|
193 |
-
visible=os.getenv("SHOW_DUPLICATE_BUTTON") == "1",
|
194 |
)
|
195 |
with gr.Group():
|
196 |
with gr.Row():
|
197 |
prompt = gr.Text(
|
198 |
-
label="Prompt",
|
199 |
show_label=False,
|
200 |
max_lines=1,
|
201 |
placeholder="Enter your prompt",
|
202 |
container=False,
|
203 |
)
|
204 |
-
run_button = gr.Button("Run")
|
205 |
-
result = gr.Gallery(label="Result", columns=1, preview=True)
|
206 |
with gr.Accordion("Advanced options", open=False):
|
207 |
use_negative_prompt = gr.Checkbox(label="Use negative prompt", value=True, visible=True)
|
208 |
negative_prompt = gr.Text(
|
|
|
187 |
'''
|
188 |
with gr.Blocks(css=css, theme="bethecloud/storj_theme") as demo:
|
189 |
gr.Markdown(DESCRIPTION)
|
|
|
|
|
|
|
|
|
190 |
)
|
191 |
with gr.Group():
|
192 |
with gr.Row():
|
193 |
prompt = gr.Text(
|
|
|
194 |
show_label=False,
|
195 |
max_lines=1,
|
196 |
placeholder="Enter your prompt",
|
197 |
container=False,
|
198 |
)
|
199 |
+
run_button = gr.Button("Run", scale=0, variant="primary")
|
|
|
200 |
with gr.Accordion("Advanced options", open=False):
|
201 |
use_negative_prompt = gr.Checkbox(label="Use negative prompt", value=True, visible=True)
|
202 |
negative_prompt = gr.Text(
|