Nymbo commited on
Commit
e94fd34
·
verified ·
1 Parent(s): 14d55ee

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -13,8 +13,9 @@ dtype = torch.bfloat16
13
  device = "cuda" if torch.cuda.is_available() else "cpu"
14
 
15
  TOOL_SUMMARY = (
16
- "Generate an image from a text prompt with FLUX.1 dev enhanced by Flux-Uncensored-V2 LoRA; "
17
- "tunable steps/guidance/size and reproducible seeds; returns a PIL.Image and streams previews."
 
18
  )
19
 
20
  good_vae = AutoencoderKL.from_pretrained("black-forest-labs/FLUX.1-dev", subfolder="vae", torch_dtype=dtype).to(device)
 
13
  device = "cuda" if torch.cuda.is_available() else "cpu"
14
 
15
  TOOL_SUMMARY = (
16
+ "Generate an image from a text prompt via Hugging Face serverless inference; "
17
+ "tunable model/steps/guidance/size, supports negative prompt and seed; returns a PIL.Image. "
18
+ "Return the generated media to the user in this format `![Alt text](URL)`."
19
  )
20
 
21
  good_vae = AutoencoderKL.from_pretrained("black-forest-labs/FLUX.1-dev", subfolder="vae", torch_dtype=dtype).to(device)