Spaces:
Running on Zero
Running on Zero
update app
Browse files
app.py
CHANGED
|
@@ -800,7 +800,12 @@ with gr.Blocks() as demo:
|
|
| 800 |
num_inference_steps = gr.Slider(label="Inference Steps", minimum=1, maximum=20, step=1, value=4)
|
| 801 |
height = gr.Slider(label="Height", minimum=256, maximum=2048, step=8, value=1024)
|
| 802 |
width = gr.Slider(label="Width", minimum=256, maximum=2048, step=8, value=1024)
|
| 803 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 804 |
def update_prompt_from_sliders(azimuth, elevation):
|
| 805 |
"""Update prompt preview when sliders change."""
|
| 806 |
prompt = build_lighting_prompt(azimuth, elevation)
|
|
|
|
| 800 |
num_inference_steps = gr.Slider(label="Inference Steps", minimum=1, maximum=20, step=1, value=4)
|
| 801 |
height = gr.Slider(label="Height", minimum=256, maximum=2048, step=8, value=1024)
|
| 802 |
width = gr.Slider(label="Width", minimum=256, maximum=2048, step=8, value=1024)
|
| 803 |
+
|
| 804 |
+
with gr.Accordion("About the Space", open=False):
|
| 805 |
+
gr.Markdown(
|
| 806 |
+
"This app Qwen-Image-Edit-2511-3D-Lighting-Control is designed by [prithivMLmods](https://huggingface.co/prithivMLmods) and is inspired by [qwen-image-multiple-angles-3d-camera](https://huggingface.co/spaces/multimodalart/qwen-image-multiple-angles-3d-camera)."
|
| 807 |
+
)
|
| 808 |
+
|
| 809 |
def update_prompt_from_sliders(azimuth, elevation):
|
| 810 |
"""Update prompt preview when sliders change."""
|
| 811 |
prompt = build_lighting_prompt(azimuth, elevation)
|