Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -528,7 +528,7 @@ with gr.Blocks(theme=gr.themes.Citrus(), css=css) as demo:
|
|
| 528 |
seed = gr.Slider(label="Seed", minimum=0, maximum=MAX_SEED, step=1, value=0)
|
| 529 |
randomize_seed = gr.Checkbox(label="Randomize Seed", value=True)
|
| 530 |
true_guidance_scale = gr.Slider(label="True Guidance Scale", minimum=1.0, maximum=10.0, step=0.1, value=1.0)
|
| 531 |
-
num_inference_steps = gr.Slider(label="Inference Steps", minimum=1, maximum=40, step=1, value=
|
| 532 |
height = gr.Slider(label="Height", minimum=256, maximum=2048, step=8, value=1024)
|
| 533 |
width = gr.Slider(label="Width", minimum=256, maximum=2048, step=8, value=1024)
|
| 534 |
|
|
@@ -581,9 +581,9 @@ with gr.Blocks(theme=gr.themes.Citrus(), css=css) as demo:
|
|
| 581 |
# Examples
|
| 582 |
gr.Examples(
|
| 583 |
examples=[
|
| 584 |
-
["harold.png", "dramatic", "side", "soft", "none", "", 0, True, 1.0,
|
| 585 |
-
["distracted.png", "golden_hour", "side", "strong", "none", "", 0, True, 1.0,
|
| 586 |
-
["disaster.jpg", "moonlight", "front", "medium", "neon_city", "", 0, True, 1.0,
|
| 587 |
],
|
| 588 |
inputs=[image, light_type, light_direction, light_intensity, illumination_env, prompt,
|
| 589 |
seed, randomize_seed, true_guidance_scale, num_inference_steps, height, width],
|
|
|
|
| 528 |
seed = gr.Slider(label="Seed", minimum=0, maximum=MAX_SEED, step=1, value=0)
|
| 529 |
randomize_seed = gr.Checkbox(label="Randomize Seed", value=True)
|
| 530 |
true_guidance_scale = gr.Slider(label="True Guidance Scale", minimum=1.0, maximum=10.0, step=0.1, value=1.0)
|
| 531 |
+
num_inference_steps = gr.Slider(label="Inference Steps", minimum=1, maximum=40, step=1, value=6)
|
| 532 |
height = gr.Slider(label="Height", minimum=256, maximum=2048, step=8, value=1024)
|
| 533 |
width = gr.Slider(label="Width", minimum=256, maximum=2048, step=8, value=1024)
|
| 534 |
|
|
|
|
| 581 |
# Examples
|
| 582 |
gr.Examples(
|
| 583 |
examples=[
|
| 584 |
+
["harold.png", "dramatic", "side", "soft", "none", "", 0, True, 1.0, 6, 672, 1024],
|
| 585 |
+
["distracted.png", "golden_hour", "side", "strong", "none", "", 0, True, 1.0, 6, 640, 1024],
|
| 586 |
+
["disaster.jpg", "moonlight", "front", "medium", "neon_city", "", 0, True, 1.0, 6, 640, 1024],
|
| 587 |
],
|
| 588 |
inputs=[image, light_type, light_direction, light_intensity, illumination_env, prompt,
|
| 589 |
seed, randomize_seed, true_guidance_scale, num_inference_steps, height, width],
|