Enhance a raw prompt. Replace with your own enhancer.
(prompt: str)
| 138 | # Plug in your own prompt enhancer / T2I model here |
| 139 | # --------------------------------------------------------------------------- # |
| 140 | def prompt_enhancer(prompt: str) -> str: |
| 141 | """Enhance a raw prompt. Replace with your own enhancer.""" |
| 142 | return prompt |
| 143 | |
| 144 | |
| 145 | def text_to_image(prompt: str) -> str: |