mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-17 00:07:36 +02:00
Add dectalk to local files
This commit is contained in:
@@ -20,9 +20,6 @@ blacklist.json
|
|||||||
# Tensorflow Models
|
# Tensorflow Models
|
||||||
tf_models/
|
tf_models/
|
||||||
|
|
||||||
# DECTalk Files
|
|
||||||
dectalk/
|
|
||||||
|
|
||||||
# Tesseract Trained Data
|
# Tesseract Trained Data
|
||||||
*.traineddata
|
*.traineddata
|
||||||
|
|
||||||
|
|||||||
@@ -38,13 +38,12 @@ luck on this one.
|
|||||||
12. [Follow these instructions to set up Redis](https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-redis-on-ubuntu-18-04). Remember to set up a password!
|
12. [Follow these instructions to set up Redis](https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-redis-on-ubuntu-18-04). Remember to set up a password!
|
||||||
13. Run `apt install libtool` so sodium can compile if necessary. **(Optional)**
|
13. Run `apt install libtool` so sodium can compile if necessary. **(Optional)**
|
||||||
14. Download [the NSFW model](https://github.com/gantman/nsfw_model) and extract the contents to `<xiao folder>/tf_models/nsfw`.
|
14. Download [the NSFW model](https://github.com/gantman/nsfw_model) and extract the contents to `<xiao folder>/tf_models/nsfw`.
|
||||||
15. Download DECTalk and extract it to `<xiao folder>/dectalk`. You will have to find this yourself. You need the files `say.exe`, `dectalk.dll`, and `dtalk_us.dic`.
|
15. Run `apt install wine` to install wine.
|
||||||
16. Run `apt install wine` to install wine.
|
16. Run `dpkg --add-architecture i386` to allow installation of wine32.
|
||||||
17. Run `dpkg --add-architecture i386` to allow installation of wine32.
|
17. Run `apt update` again.
|
||||||
18. Run `apt update` again.
|
18. Run `apt install wine32` to install wine32.
|
||||||
19. Run `apt install wine32` to install wine32.
|
19. Run `apt install xvfb` to install xvfb.
|
||||||
20. Run `apt install xvfb` to install xvfb.
|
20. Run `npm i --production` in the folder you cloned the bot.
|
||||||
21. Run `npm i --production` in the folder you cloned the bot.
|
21. Run `npx parse-domain-update` to update the domain list for `parse-domain`.
|
||||||
22. Run `npx parse-domain-update` to update the domain list for `parse-domain`.
|
22. Run `npm i -g pm2` to install PM2.
|
||||||
23. Run `npm i -g pm2` to install PM2.
|
23. Run `pm2 start Xiao.js --name xiao` to run the bot.
|
||||||
24. Run `pm2 start Xiao.js --name xiao` to run the bot.
|
|
||||||
|
|||||||
Reference in New Issue
Block a user