Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -154,6 +154,16 @@ with gr.Blocks(css=css) as demo:
|
|
154 |
input_image = gr.Image(label="Upload the image for relighting", type="pil")
|
155 |
|
156 |
with gr.Row():
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
157 |
illumination_dropdown = gr.Dropdown(
|
158 |
choices=list(ILLUMINATION_OPTIONS.keys()) + ["custom"],
|
159 |
value="sunshine from window",
|
@@ -170,14 +180,6 @@ with gr.Blocks(css=css) as demo:
|
|
170 |
scale=1
|
171 |
)
|
172 |
|
173 |
-
prompt = gr.Textbox(
|
174 |
-
label="Prompt",
|
175 |
-
show_label=True,
|
176 |
-
max_lines=3,
|
177 |
-
placeholder="select an illumination style above or enter your custom description...",
|
178 |
-
value="Add directional sunlight from window source. Increase brightness on lit areas. Create hard shadows with sharp edges. Set warm white color temperature. Add visible light rays and dust particles in beams.",
|
179 |
-
container=True
|
180 |
-
)
|
181 |
|
182 |
run_button = gr.Button("Run", scale=0, variant="primary")
|
183 |
|
|
|
154 |
input_image = gr.Image(label="Upload the image for relighting", type="pil")
|
155 |
|
156 |
with gr.Row():
|
157 |
+
|
158 |
+
prompt = gr.Textbox(
|
159 |
+
label="Prompt",
|
160 |
+
show_label=True,
|
161 |
+
max_lines=3,
|
162 |
+
placeholder="select an illumination style above or enter your custom description...",
|
163 |
+
value="Add directional sunlight from window source. Increase brightness on lit areas. Create hard shadows with sharp edges. Set warm white color temperature. Add visible light rays and dust particles in beams.",
|
164 |
+
container=True
|
165 |
+
)
|
166 |
+
|
167 |
illumination_dropdown = gr.Dropdown(
|
168 |
choices=list(ILLUMINATION_OPTIONS.keys()) + ["custom"],
|
169 |
value="sunshine from window",
|
|
|
180 |
scale=1
|
181 |
)
|
182 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
183 |
|
184 |
run_button = gr.Button("Run", scale=0, variant="primary")
|
185 |
|