Spaces:
Running
Running
Commit
·
89091f3
1
Parent(s):
fdcf783
Update app.py
Browse files
app.py
CHANGED
@@ -112,6 +112,7 @@ def create_readme(info, downloaded_files, link_civit=False, is_author=True, fold
|
|
112 |
default_tags = ["text-to-image", "stable-diffusion", "lora", "diffusers"]
|
113 |
civit_tags = [t for t in info["tags"] if t not in default_tags]
|
114 |
widget_prompts = "\n- text: ".join(['"' + prompt.replace('"', '\\"') + '"' for prompt in downloaded_files["imagePrompt"] if prompt])
|
|
|
115 |
tags = default_tags + civit_tags
|
116 |
unpacked_tags = "\n- ".join(tags)
|
117 |
content = f"""---
|
|
|
112 |
default_tags = ["text-to-image", "stable-diffusion", "lora", "diffusers"]
|
113 |
civit_tags = [t for t in info["tags"] if t not in default_tags]
|
114 |
widget_prompts = "\n- text: ".join(['"' + prompt.replace('"', '\\"') + '"' for prompt in downloaded_files["imagePrompt"] if prompt])
|
115 |
+
print(widget_prompts)
|
116 |
tags = default_tags + civit_tags
|
117 |
unpacked_tags = "\n- ".join(tags)
|
118 |
content = f"""---
|