Spaces:
orrinin
/
Runtime error

orrinin commited on
Commit
937b15e
·
verified ·
1 Parent(s): 5244cb4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -19
app.py CHANGED
@@ -160,23 +160,6 @@ with gr.Blocks(css=CSS, theme="soft") as demo:
160
  visible=True
161
  )
162
  randomize_seed = gr.Checkbox(label="随机种子", value=True)
163
- '''
164
- with gr.Row(visible=True):
165
- width = gr.Slider(
166
- label="宽",
167
- minimum=640,
168
- maximum=1280,
169
- step=8,
170
- value=1024,
171
- )
172
- height = gr.Slider(
173
- label="高",
174
- minimum=640,
175
- maximum=1280,
176
- step=8,
177
- value=1024,
178
- )
179
- '''
180
  with gr.Row(visible=True):
181
  style_selection = gr.Radio(
182
  show_label=True,
@@ -185,8 +168,7 @@ with gr.Blocks(css=CSS, theme="soft") as demo:
185
  choices=STYLE_NAMES,
186
  value=DEFAULT_STYLE_NAME,
187
  label="风格化",
188
- )
189
-
190
  with gr.Row():
191
  gr.Examples(
192
  examples=examples,
 
160
  visible=True
161
  )
162
  randomize_seed = gr.Checkbox(label="随机种子", value=True)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
163
  with gr.Row(visible=True):
164
  style_selection = gr.Radio(
165
  show_label=True,
 
168
  choices=STYLE_NAMES,
169
  value=DEFAULT_STYLE_NAME,
170
  label="风格化",
171
+ )
 
172
  with gr.Row():
173
  gr.Examples(
174
  examples=examples,