Spaces:
Running on Zero
Running on Zero
update app [0502]
Browse files
app.py
CHANGED
|
@@ -1130,14 +1130,6 @@ with gr.Blocks() as demo:
|
|
| 1130 |
value=0,
|
| 1131 |
info="-90°=from below, 0°=horizontal, 90°=from above"
|
| 1132 |
)
|
| 1133 |
-
|
| 1134 |
-
with gr.Row():
|
| 1135 |
-
prompt_preview = gr.Textbox(
|
| 1136 |
-
label="Generated Prompt",
|
| 1137 |
-
value="Light source from the Front",
|
| 1138 |
-
interactive=True,
|
| 1139 |
-
lines=1,
|
| 1140 |
-
)
|
| 1141 |
|
| 1142 |
with gr.Column(scale=1):
|
| 1143 |
result = gr.Image(label="Output Image", height=555)
|
|
@@ -1154,7 +1146,15 @@ with gr.Blocks() as demo:
|
|
| 1154 |
height = gr.Slider(label="Height", minimum=256, maximum=2048, step=8, value=1024)
|
| 1155 |
width = gr.Slider(label="Width", minimum=256, maximum=2048, step=8, value=1024)
|
| 1156 |
|
| 1157 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1158 |
gr.Markdown(
|
| 1159 |
"This app, *Qwen-Image-Edit-3D-Lighting-Control*, is designed by [prithivMLmods](https://huggingface.co/prithivMLmods) to accelerate fast inference with 4-step image edits and is inspired by [qwen-image-multiple-angles-3d-camera](https://huggingface.co/spaces/multimodalart/qwen-image-multiple-angles-3d-camera). For more adapters, visit: [Qwen-Image-Edit-LoRAs](https://huggingface.co/models?other=base_model:adapter:Qwen/Qwen-Image-Edit-2509)."
|
| 1160 |
)
|
|
|
|
| 1130 |
value=0,
|
| 1131 |
info="-90°=from below, 0°=horizontal, 90°=from above"
|
| 1132 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1133 |
|
| 1134 |
with gr.Column(scale=1):
|
| 1135 |
result = gr.Image(label="Output Image", height=555)
|
|
|
|
| 1146 |
height = gr.Slider(label="Height", minimum=256, maximum=2048, step=8, value=1024)
|
| 1147 |
width = gr.Slider(label="Width", minimum=256, maximum=2048, step=8, value=1024)
|
| 1148 |
|
| 1149 |
+
|
| 1150 |
+
with gr.Row():
|
| 1151 |
+
prompt_preview = gr.Textbox(
|
| 1152 |
+
label="Generated Prompt",
|
| 1153 |
+
value="Light source from the Front",
|
| 1154 |
+
interactive=True,
|
| 1155 |
+
lines=1,
|
| 1156 |
+
)
|
| 1157 |
+
with gr.Accordion("About the Space", open=False):
|
| 1158 |
gr.Markdown(
|
| 1159 |
"This app, *Qwen-Image-Edit-3D-Lighting-Control*, is designed by [prithivMLmods](https://huggingface.co/prithivMLmods) to accelerate fast inference with 4-step image edits and is inspired by [qwen-image-multiple-angles-3d-camera](https://huggingface.co/spaces/multimodalart/qwen-image-multiple-angles-3d-camera). For more adapters, visit: [Qwen-Image-Edit-LoRAs](https://huggingface.co/models?other=base_model:adapter:Qwen/Qwen-Image-Edit-2509)."
|
| 1160 |
)
|