Spaces:
Running
Running
Yaron Koresh
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -1495,7 +1495,7 @@ def handle_generation(h,w,d):
|
|
1495 |
num_inference_steps=image_steps,
|
1496 |
max_sequence_length=seq,
|
1497 |
generator=torch.Generator(device).manual_seed(random.randint(0, MAX_SEED))
|
1498 |
-
)
|
1499 |
|
1500 |
working = False
|
1501 |
|
|
|
1495 |
num_inference_steps=image_steps,
|
1496 |
max_sequence_length=seq,
|
1497 |
generator=torch.Generator(device).manual_seed(random.randint(0, MAX_SEED))
|
1498 |
+
).images[0]
|
1499 |
|
1500 |
working = False
|
1501 |
|