Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ pipeline = AutoPipelineForText2Image.from_pretrained('dataautogpt3/OpenDalleV1.1
|
|
18 |
MAX_SEED = np.iinfo(np.int32).max
|
19 |
MAX_IMAGE_SIZE = 1344
|
20 |
|
21 |
-
@spaces.GPU
|
22 |
def infer(prompt, negative_prompt, seed, randomize_seed, width, height, guidance_scale, num_inference_steps, progress=gr.Progress(track_tqdm=True)):
|
23 |
|
24 |
if randomize_seed:
|
|
|
18 |
MAX_SEED = np.iinfo(np.int32).max
|
19 |
MAX_IMAGE_SIZE = 1344
|
20 |
|
21 |
+
@spaces.GPU(duration=150)
|
22 |
def infer(prompt, negative_prompt, seed, randomize_seed, width, height, guidance_scale, num_inference_steps, progress=gr.Progress(track_tqdm=True)):
|
23 |
|
24 |
if randomize_seed:
|