Spaces:
Running
Running
Fix
Browse files
app.py
CHANGED
|
@@ -211,7 +211,7 @@ def update_slider(choice: str) -> dict:
|
|
| 211 |
'pixar': 121,
|
| 212 |
'slamdunk': 119,
|
| 213 |
}
|
| 214 |
-
return gr.Slider.update(maximum=max_vals[choice]
|
| 215 |
|
| 216 |
|
| 217 |
def update_style_image(style_name: str) -> dict:
|
|
@@ -288,7 +288,7 @@ Related App: https://huggingface.co/spaces/hysts/DualStyleGAN
|
|
| 288 |
label='Style Type')
|
| 289 |
with gr.Column():
|
| 290 |
style_index = gr.Slider(0,
|
| 291 |
-
|
| 292 |
value=26,
|
| 293 |
step=1,
|
| 294 |
label='Style Image Index',
|
|
|
|
| 211 |
'pixar': 121,
|
| 212 |
'slamdunk': 119,
|
| 213 |
}
|
| 214 |
+
return gr.Slider.update(maximum=max_vals[choice], value=26)
|
| 215 |
|
| 216 |
|
| 217 |
def update_style_image(style_name: str) -> dict:
|
|
|
|
| 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',
|