Spaces:
Running
on
Zero
Running
on
Zero
Commit
•
45b16b4
1
Parent(s):
9397bfa
Update app.py
Browse files
app.py
CHANGED
@@ -7,6 +7,7 @@ from pipeline_flux_controlnet_inpaint import FluxControlNetInpaintingPipeline
|
|
7 |
from PIL import Image, ImageDraw
|
8 |
import numpy as np
|
9 |
import spaces
|
|
|
10 |
|
11 |
# Load models
|
12 |
controlnet = FluxControlNetModel.from_pretrained("alimama-creative/FLUX.1-dev-Controlnet-Inpainting-Alpha", torch_dtype=torch.bfloat16)
|
|
|
7 |
from PIL import Image, ImageDraw
|
8 |
import numpy as np
|
9 |
import spaces
|
10 |
+
from huggingface_hub import hf_hub_download
|
11 |
|
12 |
# Load models
|
13 |
controlnet = FluxControlNetModel.from_pretrained("alimama-creative/FLUX.1-dev-Controlnet-Inpainting-Alpha", torch_dtype=torch.bfloat16)
|