Add NSFW browse control functionality - Done

This commit is contained in:
Will Miao
2025-03-12 22:21:30 +08:00
parent 0cad6b5cbc
commit e992ace11c
8 changed files with 397 additions and 0 deletions

8
py/utils/constants.py Normal file
View File

@@ -0,0 +1,8 @@
NSFW_LEVELS = {
"PG": 1,
"PG13": 2,
"R": 4,
"X": 8,
"XXX": 16,
"Blocked": 32, # Probably not actually visible through the API without being logged in on model owner account?
}