fooocus_expansion / README.md
aifeifei798's picture
Update README.md
d261f37 verified
|
raw
history blame
831 Bytes
metadata
license: agpl-3.0

GPT2 Prompt Expansion model from lllyasviel/Fooocus

Third-party license terms

Disclaimer

All trademarks, logos, and brand names are the property of their respective owners. All company, product and service names used in this website and licensed applications are for identification purposes only. Use of these names, trademarks, and brands does not imply endorsement.

例子

  • 1.下载模型到你的目录

  • 2.修改expansion.py

  • path_fooocus_expansion ="你的目录"

  • 比如: path_fooocus_expansion ="extras/fooocus_expansion"

  • 3.app.py

  • from extras.expansion import FooocusExpansion

  • prompt ="kpop 1girl"

  • prompt = expansion(prompt, seed)

  • print(prompt)

  • 4.运行

  • python app.py