Update app.py
Browse files
app.py
CHANGED
@@ -24,7 +24,7 @@ from opensora.serve.gradio_utils import block_css, title_markdown, randomize_see
|
|
24 |
|
25 |
import spaces
|
26 |
|
27 |
-
@spaces.GPU
|
28 |
def generate_img(prompt, sample_steps, scale, seed=0, randomize_seed=False, force_images=False):
|
29 |
seed = int(randomize_seed_fn(seed, randomize_seed))
|
30 |
set_env(seed)
|
|
|
24 |
|
25 |
import spaces
|
26 |
|
27 |
+
@spaces.GPU(duration=250)
|
28 |
def generate_img(prompt, sample_steps, scale, seed=0, randomize_seed=False, force_images=False):
|
29 |
seed = int(randomize_seed_fn(seed, randomize_seed))
|
30 |
set_env(seed)
|