Spaces:
Running
on
Zero
Running
on
Zero
chore : change duration
Browse files
app.py
CHANGED
@@ -36,7 +36,7 @@ MAX_IMAGE_SIZE = 2048
|
|
36 |
|
37 |
pipe.flux_pipe_call_that_returns_an_iterable_of_images = flux_pipe_call_that_returns_an_iterable_of_images.__get__(pipe)
|
38 |
|
39 |
-
@spaces.GPU(duration=
|
40 |
def infer(prompt, seed=42, randomize_seed=False, width=1024, height=1024, guidance_scale=3.5, num_inference_steps=28, progress=gr.Progress(track_tqdm=True)):
|
41 |
if randomize_seed:
|
42 |
seed = random.randint(0, MAX_SEED)
|
|
|
36 |
|
37 |
pipe.flux_pipe_call_that_returns_an_iterable_of_images = flux_pipe_call_that_returns_an_iterable_of_images.__get__(pipe)
|
38 |
|
39 |
+
@spaces.GPU(duration=50)
|
40 |
def infer(prompt, seed=42, randomize_seed=False, width=1024, height=1024, guidance_scale=3.5, num_inference_steps=28, progress=gr.Progress(track_tqdm=True)):
|
41 |
if randomize_seed:
|
42 |
seed = random.randint(0, MAX_SEED)
|