Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -22,7 +22,7 @@ pipeline = AutoPipelineForText2Image.from_pretrained(repo, torch_dtype=torch.flo
|
|
22 |
MAX_SEED = np.iinfo(np.int32).max
|
23 |
MAX_IMAGE_SIZE = 1344
|
24 |
|
25 |
-
@spaces.GPU(duration=
|
26 |
def infer(prompt, negative_prompt, seed, randomize_seed, width, height, guidance_scale, num_inference_steps, progress=gr.Progress(track_tqdm=True)):
|
27 |
|
28 |
if randomize_seed:
|
|
|
22 |
MAX_SEED = np.iinfo(np.int32).max
|
23 |
MAX_IMAGE_SIZE = 1344
|
24 |
|
25 |
+
@spaces.GPU(duration=60)
|
26 |
def infer(prompt, negative_prompt, seed, randomize_seed, width, height, guidance_scale, num_inference_steps, progress=gr.Progress(track_tqdm=True)):
|
27 |
|
28 |
if randomize_seed:
|