Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -94,7 +94,7 @@ def download_image(clickData):
|
|
| 94 |
return dcc.send_file(f"{txt}.png")
|
| 95 |
|
| 96 |
|
| 97 |
-
with gr.Blocks() as demo:
|
| 98 |
gr.Markdown("## Stable Diffusion Demo")
|
| 99 |
|
| 100 |
with gr.Tab("Latent Space"):
|
|
@@ -335,7 +335,9 @@ with gr.Blocks() as demo:
|
|
| 335 |
info="Enter the value in degrees",
|
| 336 |
)
|
| 337 |
step_size_circular = gr.Textbox(
|
| 338 |
-
label="Step Size", value=
|
|
|
|
|
|
|
| 339 |
)
|
| 340 |
|
| 341 |
num_inference_steps_circular = gr.Slider(
|
|
@@ -382,7 +384,7 @@ with gr.Blocks() as demo:
|
|
| 382 |
prompt_circular,
|
| 383 |
seed_circular,
|
| 384 |
num_inference_steps_circular,
|
| 385 |
-
num_images_circular
|
| 386 |
start_degree_circular,
|
| 387 |
end_degree_circular,
|
| 388 |
],
|
|
|
|
| 94 |
return dcc.send_file(f"{txt}.png")
|
| 95 |
|
| 96 |
|
| 97 |
+
with gr.Blocks(css="#step_size_circular {background-color: #666666} #step_size_circular textarea {background-color: #666666}") as demo:
|
| 98 |
gr.Markdown("## Stable Diffusion Demo")
|
| 99 |
|
| 100 |
with gr.Tab("Latent Space"):
|
|
|
|
| 335 |
info="Enter the value in degrees",
|
| 336 |
)
|
| 337 |
step_size_circular = gr.Textbox(
|
| 338 |
+
label="Step Size", value=360 / 5,
|
| 339 |
+
elem_id="step_size_circular"
|
| 340 |
+
|
| 341 |
)
|
| 342 |
|
| 343 |
num_inference_steps_circular = gr.Slider(
|
|
|
|
| 384 |
prompt_circular,
|
| 385 |
seed_circular,
|
| 386 |
num_inference_steps_circular,
|
| 387 |
+
num_images_circular,
|
| 388 |
start_degree_circular,
|
| 389 |
end_degree_circular,
|
| 390 |
],
|