Staticaliza commited on
Commit
c4e836e
·
verified ·
1 Parent(s): 515b26d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -72,7 +72,7 @@ def get_seed(seed):
72
  else:
73
  return random.randint(0, MAX_SEED)
74
 
75
- @spaces.GPU(duration=25)
76
  def generate(input=DEFAULT_INPUT, filter_input="", negative_input=DEFAULT_NEGATIVE_INPUT, model=DEFAULT_MODEL, height=DEFAULT_HEIGHT, width=DEFAULT_WIDTH, steps=1, guidance=0, number=1, seed=None, height_buffer=DEFAULT_HEIGHT, width_buffer=DEFAULT_WIDTH):
77
 
78
  repo = repo_customs[model or "Default"]
 
72
  else:
73
  return random.randint(0, MAX_SEED)
74
 
75
+ @spaces.GPU(duration=30)
76
  def generate(input=DEFAULT_INPUT, filter_input="", negative_input=DEFAULT_NEGATIVE_INPUT, model=DEFAULT_MODEL, height=DEFAULT_HEIGHT, width=DEFAULT_WIDTH, steps=1, guidance=0, number=1, seed=None, height_buffer=DEFAULT_HEIGHT, width_buffer=DEFAULT_WIDTH):
77
 
78
  repo = repo_customs[model or "Default"]