Spaces:
Running
on
Zero
Running
on
Zero
Commit
•
e9c77aa
1
Parent(s):
6e4a082
Update app.py
Browse files
app.py
CHANGED
@@ -102,7 +102,11 @@ examples = [
|
|
102 |
"a close up of a woman wearing a transparent, prismatic, elaborate nemeses headdress, over the should pose, brown skin-tone"
|
103 |
]
|
104 |
|
105 |
-
|
|
|
|
|
|
|
|
|
106 |
gr.Markdown(DESCRIPTION)
|
107 |
gr.DuplicateButton(
|
108 |
value="Duplicate Space for private use",
|
@@ -119,7 +123,7 @@ with gr.Blocks(css="style.css") as demo:
|
|
119 |
container=False,
|
120 |
)
|
121 |
run_button = gr.Button("Run", scale=0)
|
122 |
-
result = gr.Gallery(label="Result", columns=NUM_IMAGES_PER_PROMPT, show_label=False)
|
123 |
with gr.Accordion("Advanced options", open=False):
|
124 |
with gr.Row():
|
125 |
use_negative_prompt = gr.Checkbox(label="Use negative prompt", value=False)
|
|
|
102 |
"a close up of a woman wearing a transparent, prismatic, elaborate nemeses headdress, over the should pose, brown skin-tone"
|
103 |
]
|
104 |
|
105 |
+
css = '''
|
106 |
+
.gradio-container{max-width: 680px !important}
|
107 |
+
h1{text-align:center}
|
108 |
+
'''
|
109 |
+
with gr.Blocks(css=css) as demo:
|
110 |
gr.Markdown(DESCRIPTION)
|
111 |
gr.DuplicateButton(
|
112 |
value="Duplicate Space for private use",
|
|
|
123 |
container=False,
|
124 |
)
|
125 |
run_button = gr.Button("Run", scale=0)
|
126 |
+
result = gr.Gallery(label="Result", columns=NUM_IMAGES_PER_PROMPT, height=680, show_label=False)
|
127 |
with gr.Accordion("Advanced options", open=False):
|
128 |
with gr.Row():
|
129 |
use_negative_prompt = gr.Checkbox(label="Use negative prompt", value=False)
|