Yaron Koresh commited on
Commit
4a984ff
·
verified ·
1 Parent(s): be8be4b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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