Spaces:
Runtime error
Runtime error
update app
Browse files
app.py
CHANGED
|
@@ -225,7 +225,7 @@ with gr.Blocks(css=css, theme=steel_blue_theme) as demo:
|
|
| 225 |
placeholder="e.g., transform into anime..",
|
| 226 |
)
|
| 227 |
|
| 228 |
-
run_button = gr.Button("Run", variant="primary")
|
| 229 |
|
| 230 |
with gr.Column():
|
| 231 |
output_image = gr.Image(label="Output Image", interactive=False, format="png", height=290)
|
|
@@ -236,7 +236,7 @@ with gr.Blocks(css=css, theme=steel_blue_theme) as demo:
|
|
| 236 |
choices=["Photo-to-Anime", "Multiple-Angles", "Light-Restoration", "Relight"],
|
| 237 |
value="Photo-to-Anime"
|
| 238 |
)
|
| 239 |
-
with gr.Accordion("
|
| 240 |
seed = gr.Slider(label="Seed", minimum=0, maximum=MAX_SEED, step=1, value=0)
|
| 241 |
randomize_seed = gr.Checkbox(label="Randomize Seed", value=True)
|
| 242 |
guidance_scale = gr.Slider(label="Guidance Scale", minimum=1.0, maximum=10.0, step=0.1, value=1.0)
|
|
|
|
| 225 |
placeholder="e.g., transform into anime..",
|
| 226 |
)
|
| 227 |
|
| 228 |
+
run_button = gr.Button("Run", variant="primary", scale=0)
|
| 229 |
|
| 230 |
with gr.Column():
|
| 231 |
output_image = gr.Image(label="Output Image", interactive=False, format="png", height=290)
|
|
|
|
| 236 |
choices=["Photo-to-Anime", "Multiple-Angles", "Light-Restoration", "Relight"],
|
| 237 |
value="Photo-to-Anime"
|
| 238 |
)
|
| 239 |
+
with gr.Accordion("Advanced Settings", open=False):
|
| 240 |
seed = gr.Slider(label="Seed", minimum=0, maximum=MAX_SEED, step=1, value=0)
|
| 241 |
randomize_seed = gr.Checkbox(label="Randomize Seed", value=True)
|
| 242 |
guidance_scale = gr.Slider(label="Guidance Scale", minimum=1.0, maximum=10.0, step=0.1, value=1.0)
|