Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,6 @@ MAX_SEED = np.iinfo(np.int32).max
|
|
21 |
ILLUMINATION_OPTIONS = {
|
22 |
"sunset over sea": "add warm sunset light reflecting off water, creating a peaceful atmosphere with soft, diffused lighting and gentle color gradients",
|
23 |
"sunshine from window": "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.",
|
24 |
-
"neon night, city": "Replace ambient lighting with neon sources. Set primary colors to electric blue, magenta, and green. Increase color saturation significantly. Add colored reflections on wet surfaces. Reduce overall brightness.",
|
25 |
"sunset over sea": "Set warm orange-red color temperature. Increase warm tones substantially. Add horizontal light source from background. Create soft gradient lighting. Add water reflections if visible.",
|
26 |
"golden time": "Set golden color temperature. Increase contrast moderately. Add rim lighting on subjects. Enhance warm colors. Create soft directional shadows. Reduce blue tones.",
|
27 |
"sci-fi RGB glowing, cyberpunk": "add futuristic RGB lighting with electric blues, hot pinks, and neon greens creating a high-tech atmosphere with dramatic color separation and glowing effects",
|
@@ -188,10 +187,12 @@ with gr.Blocks(css=css) as demo:
|
|
188 |
|
189 |
gr.Examples(
|
190 |
examples=[
|
191 |
-
["./assets/
|
192 |
-
["./assets/
|
193 |
-
["./assets/
|
194 |
-
["./assets/
|
|
|
|
|
195 |
],
|
196 |
inputs=[input_image, prompt, illumination_dropdown, seed, randomize_seed, guidance_scale],
|
197 |
outputs=[result, seed],
|
|
|
21 |
ILLUMINATION_OPTIONS = {
|
22 |
"sunset over sea": "add warm sunset light reflecting off water, creating a peaceful atmosphere with soft, diffused lighting and gentle color gradients",
|
23 |
"sunshine from window": "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.",
|
|
|
24 |
"sunset over sea": "Set warm orange-red color temperature. Increase warm tones substantially. Add horizontal light source from background. Create soft gradient lighting. Add water reflections if visible.",
|
25 |
"golden time": "Set golden color temperature. Increase contrast moderately. Add rim lighting on subjects. Enhance warm colors. Create soft directional shadows. Reduce blue tones.",
|
26 |
"sci-fi RGB glowing, cyberpunk": "add futuristic RGB lighting with electric blues, hot pinks, and neon greens creating a high-tech atmosphere with dramatic color separation and glowing effects",
|
|
|
187 |
|
188 |
gr.Examples(
|
189 |
examples=[
|
190 |
+
["./assets/pexels-creationhill-1681010.jpg", "Add multiple colored light sources from lanterns. Create warm festival lighting. Set varied color temperatures. Add bokeh effects.", "colorful lantern light at festival", 0, True, 2.5],
|
191 |
+
["./assets/pexels-creationhill-1681010.jpg", "add futuristic RGB lighting with electric blues, hot pinks, and neon greens creating a high-tech atmosphere with dramatic color separation and glowing effects", "sci-fi RGB glowing, cyberpunk",0, True, 2.5],
|
192 |
+
["./assets/pexels-moose-photos-170195-1587009.jpg", "Set blue-green color temperature. Add volumetric lighting effects. Reduce red channel significantly. Create particle effects in light beams. Add caustic light patterns.", "underwater glow, deep sea",0, True, 2.5],
|
193 |
+
["./assets/pexels-moose-photos-170195-1587009.jpg", "Replace lighting with red sources. Add flashing strobing effects. Increase contrast. Create harsh shadows. Set monochromatic red color scheme.", "red glow, emergency lights", 0, True, 2.5],
|
194 |
+
["./assets/pexels-simon-robben-55958-614810.jpg", "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.", "sunshine from window",0, True, 2.5],
|
195 |
+
["./assets/pexels-simon-robben-55958-614810.jpg", "add vibrant neon lights in electric blues, magentas, and greens casting colorful reflections on surfaces, creating a cyberpunk urban atmosphere with dramatic color contrasts", "neon night, city", 0, True, 2.5]
|
196 |
],
|
197 |
inputs=[input_image, prompt, illumination_dropdown, seed, randomize_seed, guidance_scale],
|
198 |
outputs=[result, seed],
|