Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -132,7 +132,7 @@ def create_readme(info, downloaded_files, user_repo_id, link_civit=False, is_aut
|
|
132 |
original_url = f"https://civitai.com/models/{info['modelId']}"
|
133 |
link_civit_disclaimer = f'([CivitAI]({original_url}))'
|
134 |
non_author_disclaimer = f'This model was originally uploaded on [CivitAI]({original_url}), by [{info["creator"]}](https://civitai.com/user/{info["creator"]}/models). The information below was provided by the author on CivitAI:'
|
135 |
-
default_tags = ["text-to-image", "stable-diffusion", "lora", "diffusers", "template:sd-lora"]
|
136 |
civit_tags = [t.replace(":", "") for t in info["tags"] if t not in default_tags]
|
137 |
tags = default_tags + civit_tags
|
138 |
unpacked_tags = "\n- ".join(tags)
|
|
|
132 |
original_url = f"https://civitai.com/models/{info['modelId']}"
|
133 |
link_civit_disclaimer = f'([CivitAI]({original_url}))'
|
134 |
non_author_disclaimer = f'This model was originally uploaded on [CivitAI]({original_url}), by [{info["creator"]}](https://civitai.com/user/{info["creator"]}/models). The information below was provided by the author on CivitAI:'
|
135 |
+
default_tags = ["text-to-image", "stable-diffusion", "lora", "diffusers", "template:sd-lora", "migrated"]
|
136 |
civit_tags = [t.replace(":", "") for t in info["tags"] if t not in default_tags]
|
137 |
tags = default_tags + civit_tags
|
138 |
unpacked_tags = "\n- ".join(tags)
|