Spaces:
Running
on
Zero
Running
on
Zero
prithivMLmods
commited on
Commit
•
9199c0d
1
Parent(s):
15a7c48
Update app.py
Browse files
app.py
CHANGED
@@ -22,6 +22,8 @@ import torch
|
|
22 |
from diffusers import StableDiffusionXLPipeline, EulerAncestralDiscreteScheduler
|
23 |
|
24 |
DESCRIPTION = """
|
|
|
|
|
25 |
"""
|
26 |
|
27 |
def save_image(img):
|
@@ -142,7 +144,7 @@ footer {
|
|
142 |
}
|
143 |
'''
|
144 |
|
145 |
-
with gr.Blocks(css=css, theme="
|
146 |
|
147 |
with gr.Group():
|
148 |
with gr.Row():
|
@@ -156,7 +158,7 @@ with gr.Blocks(css=css, theme="prithivMLmods/theme_brief") as demo:
|
|
156 |
run_button = gr.Button("Run", scale=0)
|
157 |
result = gr.Gallery(label="Result", columns=1, preview=True, show_label=False)
|
158 |
|
159 |
-
with gr.Accordion("Advanced options", open=False):
|
160 |
use_negative_prompt = gr.Checkbox(label="Use negative prompt", value=True)
|
161 |
negative_prompt = gr.Text(
|
162 |
label="Negative prompt",
|
|
|
22 |
from diffusers import StableDiffusionXLPipeline, EulerAncestralDiscreteScheduler
|
23 |
|
24 |
DESCRIPTION = """
|
25 |
+
|
26 |
+
|
27 |
"""
|
28 |
|
29 |
def save_image(img):
|
|
|
144 |
}
|
145 |
'''
|
146 |
|
147 |
+
with gr.Blocks(css=css, theme="Nymbo/Alyx_Theme") as demo:
|
148 |
|
149 |
with gr.Group():
|
150 |
with gr.Row():
|
|
|
158 |
run_button = gr.Button("Run", scale=0)
|
159 |
result = gr.Gallery(label="Result", columns=1, preview=True, show_label=False)
|
160 |
|
161 |
+
with gr.Accordion("Advanced options", open=False, visible=False):
|
162 |
use_negative_prompt = gr.Checkbox(label="Use negative prompt", value=True)
|
163 |
negative_prompt = gr.Text(
|
164 |
label="Negative prompt",
|