Spaces:
Running
Running
Commit
•
8dddfec
1
Parent(s):
245e93e
Update app.py
Browse files
app.py
CHANGED
@@ -171,7 +171,7 @@ You should use {formatted_words} to trigger the image generation.
|
|
171 |
for index, (prompt, negative_prompt, image) in enumerate(zip(downloaded_files["imagePrompt"], downloaded_files["imageNegativePrompt"], downloaded_files["imageName"])):
|
172 |
escaped_prompt = prompt.replace("'", "''")
|
173 |
negative_prompt_content = f"""parameters:
|
174 |
-
|
175 |
""" if negative_prompt else ""
|
176 |
widget_content += f"""- text: '{escaped_prompt if escaped_prompt else ' ' }'
|
177 |
{negative_prompt_content}
|
|
|
171 |
for index, (prompt, negative_prompt, image) in enumerate(zip(downloaded_files["imagePrompt"], downloaded_files["imageNegativePrompt"], downloaded_files["imageName"])):
|
172 |
escaped_prompt = prompt.replace("'", "''")
|
173 |
negative_prompt_content = f"""parameters:
|
174 |
+
negative_prompt: {negative_prompt}
|
175 |
""" if negative_prompt else ""
|
176 |
widget_content += f"""- text: '{escaped_prompt if escaped_prompt else ' ' }'
|
177 |
{negative_prompt_content}
|