Spaces:
Running
on
Zero
Running
on
Zero
arthur-qiu
commited on
Commit
•
385934a
1
Parent(s):
74ec4ec
init
Browse files
app.py
CHANGED
@@ -57,7 +57,7 @@ examples = [
|
|
57 |
]
|
58 |
|
59 |
css = """
|
60 |
-
#col-container {max-width:
|
61 |
a {text-decoration-line: underline; font-weight: 600;}
|
62 |
.animate-spin {
|
63 |
animation: spin 1s linear infinite;
|
@@ -159,7 +159,8 @@ with gr.Blocks(css=css) as demo:
|
|
159 |
with gr.Row():
|
160 |
with gr.Accordion('FreeScale Parameters (feel free to adjust these parameters based on your prompt): ', open=False):
|
161 |
with gr.Row():
|
162 |
-
output_size = gr.Dropdown(["2048 x 2048", "1024 x 2048", "2048 x 1024"], value="2048 x 2048", label="Output Size (H x W)", info="Due to GPU constraints, run the demo locally for higher resolutions.")
|
|
|
163 |
with gr.Row():
|
164 |
ddim_steps = gr.Slider(label='DDIM Steps',
|
165 |
minimum=5,
|
@@ -182,8 +183,6 @@ with gr.Blocks(css=css) as demo:
|
|
182 |
maximum=10000,
|
183 |
step=1,
|
184 |
value=123)
|
185 |
-
with gr.Row():
|
186 |
-
options = gr.CheckboxGroup(['Disable FreeU'], label='Options (NOT recommended to change)')
|
187 |
with gr.Row():
|
188 |
negative_prompt = gr.Textbox(label='Negative Prompt', value='blurry, ugly, duplicate, poorly drawn, deformed, mosaic')
|
189 |
|
|
|
57 |
]
|
58 |
|
59 |
css = """
|
60 |
+
#col-container {max-width: 768px; margin-left: auto; margin-right: auto;}
|
61 |
a {text-decoration-line: underline; font-weight: 600;}
|
62 |
.animate-spin {
|
63 |
animation: spin 1s linear infinite;
|
|
|
159 |
with gr.Row():
|
160 |
with gr.Accordion('FreeScale Parameters (feel free to adjust these parameters based on your prompt): ', open=False):
|
161 |
with gr.Row():
|
162 |
+
output_size = gr.Dropdown(["2048 x 2048", "1024 x 2048", "2048 x 1024"], value="2048 x 2048", label="Output Size (H x W)", info="Due to GPU constraints, run the demo locally for higher resolutions.", scale=2)
|
163 |
+
options = gr.CheckboxGroup(['Disable FreeU'], label='Options (NOT recommended to change)', scale=1)
|
164 |
with gr.Row():
|
165 |
ddim_steps = gr.Slider(label='DDIM Steps',
|
166 |
minimum=5,
|
|
|
183 |
maximum=10000,
|
184 |
step=1,
|
185 |
value=123)
|
|
|
|
|
186 |
with gr.Row():
|
187 |
negative_prompt = gr.Textbox(label='Negative Prompt', value='blurry, ugly, duplicate, poorly drawn, deformed, mosaic')
|
188 |
|