Spaces:
Running
Running
Commit
·
437b70f
1
Parent(s):
3f71e88
Update app.py
Browse files
app.py
CHANGED
|
@@ -113,11 +113,11 @@ def create_readme(info, downloaded_files, is_author=True, folder="."):
|
|
| 113 |
content = f"""---
|
| 114 |
license: other
|
| 115 |
tags:
|
| 116 |
-
-
|
| 117 |
base_model: stabilityai/stable-diffusion-xl-base-1.0
|
| 118 |
instance_prompt: {info['trainedWords'][0] if 'trainedWords' in info and len(info['trainedWords']) > 0 else ''}
|
| 119 |
widget:
|
| 120 |
-
- text:
|
| 121 |
---
|
| 122 |
|
| 123 |
# {info["name"]}
|
|
|
|
| 113 |
content = f"""---
|
| 114 |
license: other
|
| 115 |
tags:
|
| 116 |
+
-{unpacked_tags}
|
| 117 |
base_model: stabilityai/stable-diffusion-xl-base-1.0
|
| 118 |
instance_prompt: {info['trainedWords'][0] if 'trainedWords' in info and len(info['trainedWords']) > 0 else ''}
|
| 119 |
widget:
|
| 120 |
+
- text:{widget_prompts}
|
| 121 |
---
|
| 122 |
|
| 123 |
# {info["name"]}
|