Update app.py
Browse files
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 =
|
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])
|