Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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
|
| 17 |
-
"tunable steps/guidance/size and
|
|
|
|
| 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 ``."
|
| 19 |
)
|
| 20 |
|
| 21 |
good_vae = AutoencoderKL.from_pretrained("black-forest-labs/FLUX.1-dev", subfolder="vae", torch_dtype=dtype).to(device)
|