Update app.py
Browse files
app.py
CHANGED
@@ -60,11 +60,12 @@ with gr.Blocks() as demo:
|
|
60 |
sketch_pad = gr.ImageMask(type='pil', label='Inpaint')
|
61 |
prompt = gr.Textbox()
|
62 |
generate_button = gr.Button("Generate")
|
|
|
|
|
63 |
with gr.Column():
|
64 |
version_gallery = gr.Gallery(label="Versions")
|
65 |
restore_button = gr.Button("Restore Version")
|
66 |
-
|
67 |
-
neg_prompt = gr.Textbox(label='Negative Prompt', value='ugly, deformed, nsfw')
|
68 |
|
69 |
with gr.Row():
|
70 |
out1 = gr.Image(format='png')
|
|
|
60 |
sketch_pad = gr.ImageMask(type='pil', label='Inpaint')
|
61 |
prompt = gr.Textbox()
|
62 |
generate_button = gr.Button("Generate")
|
63 |
+
with gr.Accordion("Advanced Settings", open=False):
|
64 |
+
neg_prompt = gr.Textbox(label='Negative Prompt', value='ugly, deformed, nsfw')
|
65 |
with gr.Column():
|
66 |
version_gallery = gr.Gallery(label="Versions")
|
67 |
restore_button = gr.Button("Restore Version")
|
68 |
+
|
|
|
69 |
|
70 |
with gr.Row():
|
71 |
out1 = gr.Image(format='png')
|