mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 15:07:42 +02:00
Remove NSFWJS
This commit is contained in:
@@ -256,14 +256,6 @@ client.on('clientReady', async () => {
|
||||
client.logger.error(`[ADULT SITES] Failed to fetch list\n${err.stack}`);
|
||||
}
|
||||
|
||||
// Set up nsfwjs
|
||||
try {
|
||||
await client.tensorflow.loadNSFWJS();
|
||||
client.logger.info('[NSFWJS] Loaded NSFWJS.');
|
||||
} catch (err) {
|
||||
client.logger.error(`[NSFWJS] Failed to load NSFWJS\n${err.stack}`);
|
||||
}
|
||||
|
||||
// Set up face detection
|
||||
try {
|
||||
await client.tensorflow.loadFaceDetector();
|
||||
|
||||
Reference in New Issue
Block a user