Julian Bilcke commited on
Commit
fdc981a
·
1 Parent(s): cda2b7d
Files changed (1) hide show
  1. app_gradio.py +3 -3
app_gradio.py CHANGED
@@ -319,9 +319,9 @@ generation_system = GenerationSystem(ckpt_path=ckpt_path, device=device, offload
319
  print("Model loaded successfully!")
320
 
321
 
322
- # GPU-decorated generation function with 60-second budget
323
- # (necessary fro the initialization and loading of everything)
324
- @GPU(duration=60)
325
  def generate_scene(
326
  image_prompt,
327
  text_prompt,
 
319
  print("Model loaded successfully!")
320
 
321
 
322
+ # GPU-decorated generation function with 120-second budget
323
+ # (yes, it should be shorted.. idk why it is slow, maybe we are missing some optimizations in the dependencies, or the attention mechanism)
324
+ @GPU(duration=120)
325
  def generate_scene(
326
  image_prompt,
327
  text_prompt,