yichenchenchen commited on
Commit
699ec16
·
verified ·
1 Parent(s): 4e4789a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -5,7 +5,6 @@ import os
5
  import tempfile
6
  import sys
7
  import time
8
- from inferencer import UniPicV2Inferencer
9
  from accelerate.utils import set_seed
10
  from huggingface_hub import snapshot_download
11
  import subprocess
@@ -21,6 +20,8 @@ def ensure_flash_attn():
21
 
22
 
23
  ensure_flash_attn()
 
 
24
 
25
  model_path = snapshot_download(repo_id="Skywork/UniPic2-Metaquery-9B")
26
  qwen_vl_path = snapshot_download(repo_id="Qwen/Qwen2.5-VL-7B-Instruct-AWQ")
 
5
  import tempfile
6
  import sys
7
  import time
 
8
  from accelerate.utils import set_seed
9
  from huggingface_hub import snapshot_download
10
  import subprocess
 
20
 
21
 
22
  ensure_flash_attn()
23
+ from inferencer import UniPicV2Inferencer
24
+
25
 
26
  model_path = snapshot_download(repo_id="Skywork/UniPic2-Metaquery-9B")
27
  qwen_vl_path = snapshot_download(repo_id="Qwen/Qwen2.5-VL-7B-Instruct-AWQ")