multimodalart HF staff commited on
Commit
0b1a6cb
·
1 Parent(s): f15cb29

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -112,10 +112,10 @@ 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
- print(widget_prompts)
116
  tags = default_tags + civit_tags
117
  unpacked_tags = "\n- ".join(tags)
118
- content = f"""---license: other
 
119
  tags:
120
  - {unpacked_tags}
121
 
 
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"""---
118
+ license: other
119
  tags:
120
  - {unpacked_tags}
121