Spaces:
Running
on
Zero
Running
on
Zero
machuofan
commited on
Commit
·
c8cb7ee
1
Parent(s):
b97419e
small fix
Browse files- .gitignore +13 -0
- app.py +0 -1
.gitignore
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
*.swp
|
2 |
+
**/__pycache__/**
|
3 |
+
**/.ipynb_checkpoints/**
|
4 |
+
.DS_Store
|
5 |
+
.idea/*
|
6 |
+
.vscode/*
|
7 |
+
_auto_*
|
8 |
+
*.pth
|
9 |
+
*.pth.tar
|
10 |
+
*.ckpt
|
11 |
+
*.log
|
12 |
+
*.txt
|
13 |
+
*.ipynb
|
app.py
CHANGED
@@ -52,7 +52,6 @@ introduction = f"""
|
|
52 |
This is a native MLLM built with UniTok, a unified visual tokenizer well-suited for both generation and understanding tasks.
|
53 |
More details can be found on the project <a href='https://foundationvision.github.io/UniTok/'> homepage</a> and in the <a href='https://arxiv.org/abs/2502.20321'> paper</a>. """
|
54 |
|
55 |
-
unitok_ckpt = hf_hub_download(repo_id='FoundationVision/unitok_tokenizer', filename='unitok_tokenizer.pth')
|
56 |
ckpt = torch.load('unitok_tokenizer.pth', map_location='cpu')
|
57 |
vae_cfg = Args()
|
58 |
vae_cfg.load_state_dict(ckpt['args'])
|
|
|
52 |
This is a native MLLM built with UniTok, a unified visual tokenizer well-suited for both generation and understanding tasks.
|
53 |
More details can be found on the project <a href='https://foundationvision.github.io/UniTok/'> homepage</a> and in the <a href='https://arxiv.org/abs/2502.20321'> paper</a>. """
|
54 |
|
|
|
55 |
ckpt = torch.load('unitok_tokenizer.pth', map_location='cpu')
|
56 |
vae_cfg = Args()
|
57 |
vae_cfg.load_state_dict(ckpt['args'])
|