alexnasa commited on
Commit
363c614
·
verified ·
1 Parent(s): 1f05f51

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -163,7 +163,7 @@ def generate_image(
163
  *images_captions_faces, # Combine all unpacked arguments into one tuple
164
  ):
165
  torch.cuda.empty_cache()
166
- num_images = 4
167
 
168
  # Determine the number of images, captions, and faces based on the indexs length
169
  images = list(images_captions_faces[:num_inputs])
 
163
  *images_captions_faces, # Combine all unpacked arguments into one tuple
164
  ):
165
  torch.cuda.empty_cache()
166
+ num_images = 1
167
 
168
  # Determine the number of images, captions, and faces based on the indexs length
169
  images = list(images_captions_faces[:num_inputs])