Update app.py
Browse files
app.py
CHANGED
@@ -71,7 +71,7 @@ def get_seed(seed):
|
|
71 |
else:
|
72 |
return random.randint(0, MAX_SEED)
|
73 |
|
74 |
-
@spaces.GPU(duration=
|
75 |
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):
|
76 |
|
77 |
repo = repo_customs[model or "Default"]
|
|
|
71 |
else:
|
72 |
return random.randint(0, MAX_SEED)
|
73 |
|
74 |
+
@spaces.GPU(duration=60)
|
75 |
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):
|
76 |
|
77 |
repo = repo_customs[model or "Default"]
|