yichenchenchen commited on
Commit
724b3a1
·
verified ·
1 Parent(s): 3378538

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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}")