||7 months ago|
|aichat||7 months ago|
|chatapi||7 months ago|
|.gitignore||7 months ago|
|LICENSE||7 months ago|
|README.md||7 months ago|
|README_ch.md||7 months ago|
|manage.py||7 months ago|
|requirements.txt||7 months ago|
An API based on Django.
English | 简体中文
This is an API project. The original intention is that there is no similar project, so we want to build one. This project will be constantly updated, and is committed to benefiting more people. If you want to join us, welcome! If you have any problems during use, please submit the issue.
This is a Python based project, so first make sure you have Python 3.6 or above. If you do not have python, please go to the official Python website to download it.
Before installation, please confirm that your pip configuration is OK, and check the network conditions in your country or region.
pip install -r requirements.txt hub install plato-mini hub install porn_detection_cnn
If you are running with a GPU, you can run the following command.
pip install paddlepaddle-gpu
The first time you run it, you need to Modify database parameters in setting.py, then you need to first run the following command in the root directory of the project:
python3 manage.py migrate
The next one is required for each run.
python3 manage.py runserver
If you need to make the public network accessible, you need to bring the following parameters: 0.0.0.0: Port e.g.:
python3 manage.py runserver 0.0.0.0:8000
- Conversation and pornography identification.
- Rumor Identification.
- Access Key.
Next, we need to implement more features.