Spaces:
Runtime error
Runtime error
Commit
·
f492445
1
Parent(s):
04425e9
Update app.py
Browse files
app.py
CHANGED
|
@@ -126,33 +126,33 @@ with block:
|
|
| 126 |
# register_free_crossattn_upblock2d(pipe, b1=1.2, b2=1.4, s1=0.9, s2=0.2)
|
| 127 |
# # -------- freeu block registration
|
| 128 |
|
| 129 |
-
with gr.Accordion('FreeU Parameters', open=False):
|
| 130 |
|
| 131 |
-
|
| 132 |
-
|
| 133 |
-
|
| 134 |
-
|
| 135 |
-
|
| 136 |
-
|
| 137 |
-
|
| 138 |
-
|
| 139 |
-
|
| 140 |
-
|
| 141 |
-
|
| 142 |
-
|
| 143 |
-
|
| 144 |
-
|
| 145 |
-
|
| 146 |
-
|
| 147 |
-
|
| 148 |
-
|
| 149 |
-
|
| 150 |
-
|
| 151 |
-
|
| 152 |
-
|
| 153 |
-
|
| 154 |
-
|
| 155 |
-
|
| 156 |
|
| 157 |
with gr.Row():
|
| 158 |
with gr.Column(min_width=256) as c1:
|
|
|
|
| 126 |
# register_free_crossattn_upblock2d(pipe, b1=1.2, b2=1.4, s1=0.9, s2=0.2)
|
| 127 |
# # -------- freeu block registration
|
| 128 |
|
| 129 |
+
# with gr.Accordion('FreeU Parameters', open=False):
|
| 130 |
|
| 131 |
+
# b1 = gr.Slider(label='b1: backbone factor of the first stage block of decoder',
|
| 132 |
+
# minimum=1,
|
| 133 |
+
# maximum=1.6,
|
| 134 |
+
# step=0.1,
|
| 135 |
+
# value=1)
|
| 136 |
+
# b2 = gr.Slider(label='b2: backbone factor of the second stage block of decoder',
|
| 137 |
+
# minimum=1,
|
| 138 |
+
# maximum=1.6,
|
| 139 |
+
# step=0.1,
|
| 140 |
+
# value=1)
|
| 141 |
+
# s1 = gr.Slider(label='s1: skip factor of the first stage block of decoder',
|
| 142 |
+
# minimum=0,
|
| 143 |
+
# maximum=1,
|
| 144 |
+
# step=0.1,
|
| 145 |
+
# value=1)
|
| 146 |
+
# s2 = gr.Slider(label='s2: skip factor of the second stage block of decoder',
|
| 147 |
+
# minimum=0,
|
| 148 |
+
# maximum=1,
|
| 149 |
+
# step=0.1,
|
| 150 |
+
# value=1)
|
| 151 |
+
# s3 = gr.Slider(label='s3: skip factor of the second stage block of decoder',
|
| 152 |
+
# minimum=0,
|
| 153 |
+
# maximum=1,
|
| 154 |
+
# step=0.1,
|
| 155 |
+
# value=1)
|
| 156 |
|
| 157 |
with gr.Row():
|
| 158 |
with gr.Column(min_width=256) as c1:
|