Spaces:
Runtime error
Runtime error
adding `accelerate` dependency
Browse files- app.py +3 -2
- requirements.txt +1 -0
app.py
CHANGED
@@ -5,8 +5,9 @@ from diffusers import FluxInpaintPipeline
|
|
5 |
MARKDOWN = """
|
6 |
# FLUX.1 Inpainting 🔥
|
7 |
|
8 |
-
Shoutout to
|
9 |
-
creating this amazing model
|
|
|
10 |
"""
|
11 |
|
12 |
DEVICE = torch.device("cuda")
|
|
|
5 |
MARKDOWN = """
|
6 |
# FLUX.1 Inpainting 🔥
|
7 |
|
8 |
+
Shoutout to [Black Forest Labs](https://huggingface.co/black-forest-labs) team for
|
9 |
+
creating this amazing model, and a big thanks to [Gothos](https://github.com/Gothos)
|
10 |
+
for taking it to the next level by enabling inpainting with the FLUX.
|
11 |
"""
|
12 |
|
13 |
DEVICE = torch.device("cuda")
|
requirements.txt
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
gradio
|
2 |
spaces
|
|
|
3 |
transformers
|
4 |
git+https://github.com/Gothos/diffusers.git@flux-inpaint
|
|
|
1 |
gradio
|
2 |
spaces
|
3 |
+
accelerate
|
4 |
transformers
|
5 |
git+https://github.com/Gothos/diffusers.git@flux-inpaint
|