Spaces:
Runtime error
Runtime error
Commit
·
c08bad3
1
Parent(s):
3928b10
Update app.py
Browse files
app.py
CHANGED
@@ -229,7 +229,7 @@ def push(model_name, where_to_upload, hf_token, comes_from_automated=False):
|
|
229 |
else:
|
230 |
title_instance_prompt_string = ''
|
231 |
previous_instance_prompt = instance_prompt
|
232 |
-
image_string = f'''{title_instance_prompt_string} (use that on your prompt)
|
233 |
{image_string}})'''
|
234 |
readme_text = f'''---
|
235 |
license: creativeml-openrail-m
|
|
|
229 |
else:
|
230 |
title_instance_prompt_string = ''
|
231 |
previous_instance_prompt = instance_prompt
|
232 |
+
image_string = f'''{title_instance_prompt_string} {"(use that on your prompt)" if title_instance_prompt_string != "" else ""}
|
233 |
{image_string}})'''
|
234 |
readme_text = f'''---
|
235 |
license: creativeml-openrail-m
|