Update app.py
Browse files
app.py
CHANGED
|
@@ -326,7 +326,7 @@ def create_readme(info: Dict[str, Any], downloaded_files: Dict[str, Any], user_r
|
|
| 326 |
civit_tags_raw = info.get("tags", [])
|
| 327 |
civit_tags_clean = [t.replace(":", "").strip() for t in civit_tags_raw if t.replace(":", "").strip()]
|
| 328 |
final_civit_tags = [tag for tag in civit_tags_clean if tag not in default_tags and tag.lower() not in default_tags]
|
| 329 |
-
tags = default_tags
|
| 330 |
unpacked_tags = "\n- ".join(sorted(list(set(tags))))
|
| 331 |
|
| 332 |
trained_words = info.get('trainedWords', [])
|
|
|
|
| 326 |
civit_tags_raw = info.get("tags", [])
|
| 327 |
civit_tags_clean = [t.replace(":", "").strip() for t in civit_tags_raw if t.replace(":", "").strip()]
|
| 328 |
final_civit_tags = [tag for tag in civit_tags_clean if tag not in default_tags and tag.lower() not in default_tags]
|
| 329 |
+
tags = default_tags #+ final_civit_tags
|
| 330 |
unpacked_tags = "\n- ".join(sorted(list(set(tags))))
|
| 331 |
|
| 332 |
trained_words = info.get('trainedWords', [])
|