salso commited on
Commit
b45acf5
·
verified ·
1 Parent(s): 44bce5e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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")