Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ CSS = "#col-container { margin: 0 auto; max-width: 900px; }"
|
|
20 |
EXAMPLES = ["a tiny elephant hatching from a turtle egg in the palm of a human hand, highly detailed textures, close-up"]
|
21 |
|
22 |
|
23 |
-
@spaces.GPU(duration=
|
24 |
def infer(prompt, seed=99999, randomize_seed=True, width=896, height=1152, guidance_scale=5.0, num_inference_steps=28, progress=gr.Progress(track_tqdm=True)):
|
25 |
if randomize_seed:
|
26 |
seed = random.randint(0, MAX_SEED)
|
|
|
20 |
EXAMPLES = ["a tiny elephant hatching from a turtle egg in the palm of a human hand, highly detailed textures, close-up"]
|
21 |
|
22 |
|
23 |
+
@spaces.GPU(duration=45)
|
24 |
def infer(prompt, seed=99999, randomize_seed=True, width=896, height=1152, guidance_scale=5.0, num_inference_steps=28, progress=gr.Progress(track_tqdm=True)):
|
25 |
if randomize_seed:
|
26 |
seed = random.randint(0, MAX_SEED)
|