Spaces:
Runtime error
Runtime error
make it comma separated
Browse files
app.py
CHANGED
@@ -52,7 +52,7 @@ def generate_images(prompts, pw, model):
|
|
52 |
|
53 |
image_paths = [] # Initialize a list to hold paths of generated images
|
54 |
# Split the prompts string into individual prompts based on comma separation
|
55 |
-
prompts_list = prompts.split('
|
56 |
for prompt in prompts_list:
|
57 |
text = prompt.strip() # Remove leading/trailing whitespace
|
58 |
|
|
|
52 |
|
53 |
image_paths = [] # Initialize a list to hold paths of generated images
|
54 |
# Split the prompts string into individual prompts based on comma separation
|
55 |
+
prompts_list = prompts.split(';')
|
56 |
for prompt in prompts_list:
|
57 |
text = prompt.strip() # Remove leading/trailing whitespace
|
58 |
|