ChenyangSi commited on
Commit
6f0c7ad
·
1 Parent(s): 7d2016d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +23 -22
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.Accordion('FreeU Parameters', open=False):
114
- b1 = gr.Slider(label='b1: backbone factor of the first stage block of decoder',
115
- minimum=1,
116
- maximum=1.6,
117
- step=0.1,
118
- value=1)
119
- b2 = gr.Slider(label='b2: backbone factor of the second stage block of decoder',
120
- minimum=1,
121
- maximum=1.6,
122
- step=0.1,
123
- value=1)
124
- s1 = gr.Slider(label='s1: skip factor of the first stage block of decoder',
125
- minimum=0,
126
- maximum=1,
127
- step=0.1,
128
- value=1)
129
- s2 = gr.Slider(label='s2: skip factor of the second stage block of decoder',
130
- minimum=0,
131
- maximum=1,
132
- step=0.1,
133
- value=1)
 
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: