Spaces:
Running
Running
dev(narugo): add newest
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ import gradio as gr
|
|
9 |
import numpy as np
|
10 |
from PIL import Image
|
11 |
from cheesechaser.datapool import DanbooruWebpDataPool, YandeWebpDataPool, ZerochanWebpDataPool, GelbooruWebpDataPool, \
|
12 |
-
KonachanWebpDataPool, AnimePicturesWebpDataPool
|
13 |
from hfutils.operate import get_hf_fs, get_hf_client
|
14 |
from hfutils.utils import TemporaryDirectory
|
15 |
from imgutils.tagging import wd14
|
@@ -26,7 +26,7 @@ _ALL_MODEL_NAMES = [
|
|
26 |
]
|
27 |
|
28 |
_SITE_CLS = {
|
29 |
-
'danbooru':
|
30 |
'yandere': YandeWebpDataPool,
|
31 |
'zerochan': ZerochanWebpDataPool,
|
32 |
'gelbooru': GelbooruWebpDataPool,
|
|
|
9 |
import numpy as np
|
10 |
from PIL import Image
|
11 |
from cheesechaser.datapool import DanbooruWebpDataPool, YandeWebpDataPool, ZerochanWebpDataPool, GelbooruWebpDataPool, \
|
12 |
+
KonachanWebpDataPool, AnimePicturesWebpDataPool, DanbooruNewestWebpDataPool
|
13 |
from hfutils.operate import get_hf_fs, get_hf_client
|
14 |
from hfutils.utils import TemporaryDirectory
|
15 |
from imgutils.tagging import wd14
|
|
|
26 |
]
|
27 |
|
28 |
_SITE_CLS = {
|
29 |
+
'danbooru': DanbooruNewestWebpDataPool,
|
30 |
'yandere': YandeWebpDataPool,
|
31 |
'zerochan': ZerochanWebpDataPool,
|
32 |
'gelbooru': GelbooruWebpDataPool,
|