Skip to content

Commit

Permalink
[Advanced Diffusion Script] Add Widget default text (huggingface#6100)
Browse files Browse the repository at this point in the history
add widget
  • Loading branch information
apolinario authored and Jimmy committed Apr 26, 2024
1 parent 36a587a commit 3acc0e0
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,8 @@ def save_model_card(
base_model: {base_model}
instance_prompt: {instance_prompt}
license: openrail++
widget:
- text: '{validation_prompt if validation_prompt else instance_prompt}'
---
"""

Expand Down

0 comments on commit 3acc0e0

Please sign in to comment.