Spaces:
Running
Running
codewithdark
commited on
Commit
•
9c16909
1
Parent(s):
13a93cb
Update utility/image_generator.py
Browse files
utility/image_generator.py
CHANGED
@@ -38,7 +38,7 @@ def hf_pipeline(prompt, max_retries=5, delay=30):
|
|
38 |
|
39 |
def generate_images(prompts):
|
40 |
try:
|
41 |
-
|
42 |
for idx, prompt in enumerate(prompts):
|
43 |
print(f"Generating image for prompt: {prompt}")
|
44 |
# Ensure the prompt is processed on the correct device
|
|
|
38 |
|
39 |
def generate_images(prompts):
|
40 |
try:
|
41 |
+
image_files = []
|
42 |
for idx, prompt in enumerate(prompts):
|
43 |
print(f"Generating image for prompt: {prompt}")
|
44 |
# Ensure the prompt is processed on the correct device
|