Spaces:
Runtime error
Runtime error
@spaces.GPU(duration=60)
Browse files
app.py
CHANGED
|
@@ -24,7 +24,7 @@ pipe = pipe.to(device)
|
|
| 24 |
MAX_SEED = np.iinfo(np.int32).max
|
| 25 |
MAX_IMAGE_SIZE = 1024
|
| 26 |
|
| 27 |
-
|
| 28 |
def infer(prompt, negative_prompt, seed, randomize_seed, width, height, guidance_scale, num_inference_steps, progress=gr.Progress(track_tqdm=True)):
|
| 29 |
|
| 30 |
if randomize_seed:
|
|
|
|
| 24 |
MAX_SEED = np.iinfo(np.int32).max
|
| 25 |
MAX_IMAGE_SIZE = 1024
|
| 26 |
|
| 27 |
+
@spaces.GPU(duration=60)
|
| 28 |
def infer(prompt, negative_prompt, seed, randomize_seed, width, height, guidance_scale, num_inference_steps, progress=gr.Progress(track_tqdm=True)):
|
| 29 |
|
| 30 |
if randomize_seed:
|