Fiqa commited on
Commit
70a68a3
·
verified ·
1 Parent(s): 55b9907

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -92,8 +92,8 @@ def generate_caption_and_image(image, f, p, d):
92
  num_inference_steps=50,
93
  max_sequence_length=512,
94
  generator=torch.Generator("cpu").manual_seed(0)
95
- ).images[0]
96
- return image
97
 
98
 
99
 
 
92
  num_inference_steps=50,
93
  max_sequence_length=512,
94
  generator=torch.Generator("cpu").manual_seed(0)
95
+ ).images
96
+ return image[0], image[1]
97
 
98
 
99