Skip to content

a quick and dirty bot, running stable diffuser, via huggingface diffusers

License

Notifications You must be signed in to change notification settings

Lastorder-DC/diffusers_mastodon_bot

 
 

Repository files navigation

duffusers_mastodon_bot

a quick and dirty bot, running stable diffuser, via huggingface diffusers

prepare & run

  • virtualenv
  • install pytorch, via pip, enabling nvidia
  • cuda version should match(If pytorch is based on cuda 11.6, install cuda 11.6 instead of 11.8)
  • pip install -r requirements.txt
  • huggingface-cli login (see hf diffusers)
  • create app from account setting, fill these text files
  • python -m diffusers_mastodon_bot.main
  • additional things for performance:
    • install accelerate
    • install xformers

features

  • image generation: mentioning the bot with #diffuse_me and prompt
    • If you are the bot, You can do it without mention
  • image generation game: mentioning the bot in DM with #diffuse_game and prompt
@bot@example.com 

#diffuse_me 

args.orientation landscape
args.image_count 16
args.guidance_scale 30
args.num_inference_steps 70

suzuran from arknights at cozy cafe with tea.
extremely cute, round face, big fox ears directing side,
cyan hairband, bright gold yellow hair with thin twintail
as round shape braided, bangs, round gentle emerald eyes,
girlish comfort dress, 1girl, urban fantasy, sci-fi,
comfort art style, ultra detail, highres

sep.negative

high contrast, trecen school suite, uma musume

config examples

see config_example. copy-paste it to config and modify from there.

misc

This software contains source from huggingface/diffusers, which is under Apache License 2.

About

a quick and dirty bot, running stable diffuser, via huggingface diffusers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.8%
  • Other 0.2%