Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -19,6 +19,7 @@ inferencer = UniPicV2Inferencer(
|
|
19 |
qwen_vl_path=qwen_vl_path,
|
20 |
quant="int4"
|
21 |
)
|
|
|
22 |
|
23 |
TEMP_DIR = tempfile.mkdtemp()
|
24 |
print(f"Temporary directory created at: {TEMP_DIR}")
|
|
|
19 |
qwen_vl_path=qwen_vl_path,
|
20 |
quant="int4"
|
21 |
)
|
22 |
+
inferencer.pipeline = inferencer._init_pipeline()
|
23 |
|
24 |
TEMP_DIR = tempfile.mkdtemp()
|
25 |
print(f"Temporary directory created at: {TEMP_DIR}")
|