Spaces:
Running on Zero
Running on Zero
update app
Browse files
app.py
CHANGED
|
@@ -805,7 +805,13 @@ with gr.Blocks() as demo:
|
|
| 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)
|
|
|
|
| 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 |
+
examples = gr.Examples(
|
| 810 |
+
examples=["examples/1.jpg", "examples/2.jpg", "examples/3.jpg"],
|
| 811 |
+
inputs=image_input,
|
| 812 |
+
label="Examples"
|
| 813 |
+
)
|
| 814 |
+
|
| 815 |
def update_prompt_from_sliders(azimuth, elevation):
|
| 816 |
"""Update prompt preview when sliders change."""
|
| 817 |
prompt = build_lighting_prompt(azimuth, elevation)
|