Spaces:
Running
Running
Change step2 layout
Browse files
app.py
CHANGED
|
@@ -283,18 +283,15 @@ Related App: https://huggingface.co/spaces/hysts/DualStyleGAN
|
|
| 283 |
''')
|
| 284 |
with gr.Row():
|
| 285 |
with gr.Column():
|
| 286 |
-
|
| 287 |
-
style_type = gr.Radio(app.style_types,
|
| 288 |
-
label='Style Type')
|
| 289 |
-
with gr.Column():
|
| 290 |
-
style_index = gr.Slider(0,
|
| 291 |
-
316,
|
| 292 |
-
value=26,
|
| 293 |
-
step=1,
|
| 294 |
-
label='Style Image Index',
|
| 295 |
-
interactive=True)
|
| 296 |
text = get_style_image_markdown_text('cartoon')
|
| 297 |
style_image = gr.Markdown(value=text)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 298 |
|
| 299 |
with gr.Box():
|
| 300 |
gr.Markdown('''## Step 3
|
|
|
|
| 283 |
''')
|
| 284 |
with gr.Row():
|
| 285 |
with gr.Column():
|
| 286 |
+
style_type = gr.Radio(app.style_types, label='Style Type')
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 287 |
text = get_style_image_markdown_text('cartoon')
|
| 288 |
style_image = gr.Markdown(value=text)
|
| 289 |
+
style_index = gr.Slider(0,
|
| 290 |
+
316,
|
| 291 |
+
value=26,
|
| 292 |
+
step=1,
|
| 293 |
+
label='Style Image Index',
|
| 294 |
+
interactive=True)
|
| 295 |
|
| 296 |
with gr.Box():
|
| 297 |
gr.Markdown('''## Step 3
|