Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -46,7 +46,7 @@ def generate_images(text, num_images=6):
|
|
46 |
# generated_images = clip_image_search(text)
|
47 |
generated_images = clip_image_search(model,
|
48 |
image_embeddings,
|
49 |
-
|
50 |
image_filenames=valid_df['image'].values,
|
51 |
n=9)
|
52 |
|
|
|
46 |
# generated_images = clip_image_search(text)
|
47 |
generated_images = clip_image_search(model,
|
48 |
image_embeddings,
|
49 |
+
text,
|
50 |
image_filenames=valid_df['image'].values,
|
51 |
n=9)
|
52 |
|