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