Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -368,6 +368,7 @@ def generate_image(prompt, structure_image, style_image, depth_strength=15, cann
|
|
368 |
# Fall back to the expected path
|
369 |
return os.path.join("output", output_filename)
|
370 |
|
|
|
371 |
with gr.Blocks(css="footer {visibility: hidden}") as app:
|
372 |
gr.Markdown("# 🎨 FLUX Zen Style Depth+Canny")
|
373 |
gr.Markdown("Flux[dev] Redux + Flux[dev] Depth and XLabs Canny based on the space FLUX Style Shaping")
|
|
|
368 |
# Fall back to the expected path
|
369 |
return os.path.join("output", output_filename)
|
370 |
|
371 |
+
@spaces.GPU
|
372 |
with gr.Blocks(css="footer {visibility: hidden}") as app:
|
373 |
gr.Markdown("# 🎨 FLUX Zen Style Depth+Canny")
|
374 |
gr.Markdown("Flux[dev] Redux + Flux[dev] Depth and XLabs Canny based on the space FLUX Style Shaping")
|