narugo commited on
Commit
1557500
·
1 Parent(s): defe89e

dev(narugo): add 2 more sites

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -8,7 +8,7 @@ import faiss
8
  import gradio as gr
9
  import numpy as np
10
  from PIL import Image
11
- from cheesechaser.datapool import DanbooruWebpDataPool, YandeWebpDataPool
12
  from hfutils.operate import get_hf_fs, get_hf_client
13
  from hfutils.utils import TemporaryDirectory
14
  from imgutils.tagging import wd14
@@ -27,6 +27,8 @@ _ALL_MODEL_NAMES = [
27
  _SITE_CLS = {
28
  'danbooru': DanbooruWebpDataPool,
29
  'yandere': YandeWebpDataPool,
 
 
30
  }
31
 
32
 
 
8
  import gradio as gr
9
  import numpy as np
10
  from PIL import Image
11
+ from cheesechaser.datapool import DanbooruWebpDataPool, YandeWebpDataPool, ZerochanWebpDataPool, GelbooruWebpDataPool
12
  from hfutils.operate import get_hf_fs, get_hf_client
13
  from hfutils.utils import TemporaryDirectory
14
  from imgutils.tagging import wd14
 
27
  _SITE_CLS = {
28
  'danbooru': DanbooruWebpDataPool,
29
  'yandere': YandeWebpDataPool,
30
+ 'zerochan': ZerochanWebpDataPool,
31
+ 'gelbooru': GelbooruWebpDataPool,
32
  }
33
 
34