Spaces:
Runtime error
Runtime error
Commit
·
6f0c7ad
1
Parent(s):
7d2016d
Update app.py
Browse files
app.py
CHANGED
@@ -109,28 +109,29 @@ with block:
|
|
109 |
container=False,
|
110 |
)
|
111 |
btn = gr.Button("Generate image", scale=0)
|
112 |
-
|
113 |
-
with gr.
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
|
|
134 |
|
135 |
with gr.Row():
|
136 |
with gr.Column(min_width=256) as c1:
|
|
|
109 |
container=False,
|
110 |
)
|
111 |
btn = gr.Button("Generate image", scale=0)
|
112 |
+
|
113 |
+
with gr.Column():
|
114 |
+
with gr.Accordion('FreeU Parameters', open=False):
|
115 |
+
b1 = gr.Slider(label='b1: backbone factor of the first stage block of decoder',
|
116 |
+
minimum=1,
|
117 |
+
maximum=1.6,
|
118 |
+
step=0.1,
|
119 |
+
value=1)
|
120 |
+
b2 = gr.Slider(label='b2: backbone factor of the second stage block of decoder',
|
121 |
+
minimum=1,
|
122 |
+
maximum=1.6,
|
123 |
+
step=0.1,
|
124 |
+
value=1)
|
125 |
+
s1 = gr.Slider(label='s1: skip factor of the first stage block of decoder',
|
126 |
+
minimum=0,
|
127 |
+
maximum=1,
|
128 |
+
step=0.1,
|
129 |
+
value=1)
|
130 |
+
s2 = gr.Slider(label='s2: skip factor of the second stage block of decoder',
|
131 |
+
minimum=0,
|
132 |
+
maximum=1,
|
133 |
+
step=0.1,
|
134 |
+
value=1)
|
135 |
|
136 |
with gr.Row():
|
137 |
with gr.Column(min_width=256) as c1:
|