Spaces:
Running
on
Zero
Running
on
Zero
prithivMLmods
commited on
Commit
•
2f57ec0
1
Parent(s):
b19c572
Update app.py
Browse files
app.py
CHANGED
@@ -110,6 +110,16 @@ with gr.Blocks(css=css) as demo:
|
|
110 |
run_button = gr.Button("Run", scale=0, variant="primary")
|
111 |
|
112 |
result = gr.Image(label="Result", show_label=False)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
113 |
|
114 |
with gr.Accordion("Advanced Settings", open=False):
|
115 |
negative_prompt = gr.Text(
|
@@ -129,15 +139,6 @@ with gr.Blocks(css=css) as demo:
|
|
129 |
|
130 |
randomize_seed = gr.Checkbox(label="Randomize seed", value=True)
|
131 |
|
132 |
-
style_selection = gr.Radio(
|
133 |
-
show_label=True,
|
134 |
-
container=True,
|
135 |
-
interactive=True,
|
136 |
-
choices=STYLE_NAMES,
|
137 |
-
value=DEFAULT_STYLE_NAME,
|
138 |
-
label="Quality Style",
|
139 |
-
)
|
140 |
-
|
141 |
with gr.Row():
|
142 |
width = gr.Slider(
|
143 |
label="Width",
|
|
|
110 |
run_button = gr.Button("Run", scale=0, variant="primary")
|
111 |
|
112 |
result = gr.Image(label="Result", show_label=False)
|
113 |
+
|
114 |
+
with gr.Row(visible=True):
|
115 |
+
style_selection = gr.Radio(
|
116 |
+
show_label=True,
|
117 |
+
container=True,
|
118 |
+
interactive=True,
|
119 |
+
choices=STYLE_NAMES,
|
120 |
+
value=DEFAULT_STYLE_NAME,
|
121 |
+
label="Quality Style",
|
122 |
+
)
|
123 |
|
124 |
with gr.Accordion("Advanced Settings", open=False):
|
125 |
negative_prompt = gr.Text(
|
|
|
139 |
|
140 |
randomize_seed = gr.Checkbox(label="Randomize seed", value=True)
|
141 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
142 |
with gr.Row():
|
143 |
width = gr.Slider(
|
144 |
label="Width",
|