cb1cyf commited on
Commit
53d0039
·
1 Parent(s): 3c4a9a5

fix:gpu duration too large

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -85,7 +85,7 @@ def load_pipeline(accelerator, weight_dtype, args):
85
  pipeline = pipeline.to(accelerator.device)
86
  return pipeline
87
 
88
- @spaces.GPU(duration=300)
89
  def run(
90
  instruction,
91
  width_input,
 
85
  pipeline = pipeline.to(accelerator.device)
86
  return pipeline
87
 
88
+ @spaces.GPU(duration=120)
89
  def run(
90
  instruction,
91
  width_input,