Spaces:
Build error
Build error
wtf
Browse files
app.py
CHANGED
@@ -38,7 +38,7 @@ for p in glob.glob(f"{cp_dir}/segment-anything-2/*.yaml"):
|
|
38 |
shutil.copy(p, "sam2_configs")
|
39 |
|
40 |
from modelmod import FluxModel
|
41 |
-
model = FluxModel(device=DEVICE, is_turbo=False, required_features=['controlnet', 'depth'
|
42 |
|
43 |
QWEN2VLFLUX_MODES = ["variation", "img2img", "inpaint", "controlnet", "controlnet-inpaint"]
|
44 |
QWEN2VLFLUX_ASPECT_RATIO = ["1:1", "16:9", "9:16", "2.4:1", "3:4", "4:3"]
|
|
|
38 |
shutil.copy(p, "sam2_configs")
|
39 |
|
40 |
from modelmod import FluxModel
|
41 |
+
model = FluxModel(device=DEVICE, is_turbo=False, required_features=['controlnet', 'depth'], is_quantization=True) # , 'sam'
|
42 |
|
43 |
QWEN2VLFLUX_MODES = ["variation", "img2img", "inpaint", "controlnet", "controlnet-inpaint"]
|
44 |
QWEN2VLFLUX_ASPECT_RATIO = ["1:1", "16:9", "9:16", "2.4:1", "3:4", "4:3"]
|