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

Downloads last month
3
Inference Providers NEW
This model is not currently available via any of the supported Inference Providers.
The model cannot be deployed to the HF Inference API: The model has no library tag.