narugo commited on
Commit
84a3dfc
1 Parent(s): a54d829

dev(narugo): add rule34

Browse files
Files changed (2) hide show
  1. app.py +2 -1
  2. requirements.txt +1 -1
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 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
@@ -32,6 +32,7 @@ _SITE_CLS = {
32
  'gelbooru': GelbooruWebpDataPool,
33
  'konachan': KonachanWebpDataPool,
34
  'anime_pictures': AnimePicturesWebpDataPool,
 
35
  }
36
 
37
 
 
9
  import numpy as np
10
  from PIL import Image
11
  from cheesechaser.datapool import YandeWebpDataPool, ZerochanWebpDataPool, GelbooruWebpDataPool, \
12
+ KonachanWebpDataPool, AnimePicturesWebpDataPool, DanbooruNewestWebpDataPool, Rule34WebpDataPool
13
  from hfutils.operate import get_hf_fs, get_hf_client
14
  from hfutils.utils import TemporaryDirectory
15
  from imgutils.tagging import wd14
 
32
  'gelbooru': GelbooruWebpDataPool,
33
  'konachan': KonachanWebpDataPool,
34
  'anime_pictures': AnimePicturesWebpDataPool,
35
+ 'rule34': Rule34WebpDataPool,
36
  }
37
 
38
 
requirements.txt CHANGED
@@ -3,4 +3,4 @@ faiss-cpu
3
  dghs-imgutils
4
  onnxruntime
5
  gradio==5.5.0
6
- cheesechaser
 
3
  dghs-imgutils
4
  onnxruntime
5
  gradio==5.5.0
6
+ cheesechaser>=0.1.6