Commit
•
89ce1c2
1
Parent(s):
69d5ab5
Update app.py
Browse files
app.py
CHANGED
@@ -102,7 +102,7 @@ examples = [
|
|
102 |
]
|
103 |
|
104 |
css = '''
|
105 |
-
.gradio-container{max-width:
|
106 |
h1{text-align:center}
|
107 |
'''
|
108 |
with gr.Blocks(css=css) as demo:
|
@@ -122,7 +122,7 @@ with gr.Blocks(css=css) as demo:
|
|
122 |
container=False,
|
123 |
)
|
124 |
run_button = gr.Button("Run", scale=0)
|
125 |
-
result = gr.Gallery(label="Result", columns=NUM_IMAGES_PER_PROMPT,
|
126 |
with gr.Accordion("Advanced options", open=False):
|
127 |
with gr.Row():
|
128 |
use_negative_prompt = gr.Checkbox(label="Use negative prompt", value=False)
|
|
|
102 |
]
|
103 |
|
104 |
css = '''
|
105 |
+
.gradio-container{max-width: 600px !important}
|
106 |
h1{text-align:center}
|
107 |
'''
|
108 |
with gr.Blocks(css=css) as demo:
|
|
|
122 |
container=False,
|
123 |
)
|
124 |
run_button = gr.Button("Run", scale=0)
|
125 |
+
result = gr.Gallery(label="Result", columns=NUM_IMAGES_PER_PROMPT, show_label=False)
|
126 |
with gr.Accordion("Advanced options", open=False):
|
127 |
with gr.Row():
|
128 |
use_negative_prompt = gr.Checkbox(label="Use negative prompt", value=False)
|