Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -31,7 +31,7 @@ inferencer = UniPicV2Inferencer(
|
|
31 |
qwen_vl_path=qwen_vl_path,
|
32 |
quant="int4"
|
33 |
)
|
34 |
-
|
35 |
|
36 |
TEMP_DIR = tempfile.mkdtemp()
|
37 |
print(f"Temporary directory created at: {TEMP_DIR}")
|
|
|
31 |
qwen_vl_path=qwen_vl_path,
|
32 |
quant="int4"
|
33 |
)
|
34 |
+
inferencer.pipeline = inferencer._init_pipeline()
|
35 |
|
36 |
TEMP_DIR = tempfile.mkdtemp()
|
37 |
print(f"Temporary directory created at: {TEMP_DIR}")
|