An API based on Django.
Go to file
MomentQYC 1f424b81d3
Update settings.py
2022-06-26 15:29:58 +08:00
aichat Update settings.py 2022-06-26 15:29:58 +08:00
chatapi Update views.py 2022-06-25 17:30:51 +08:00
.gitignore First Commit 2022-06-25 09:32:36 +08:00
LICENSE Create LICENSE 2022-06-25 18:15:54 +08:00
README.md Update README.md 2022-06-25 21:49:19 +08:00
README_ch.md Update README_ch.md 2022-06-25 21:49:46 +08:00
manage.py First Commit 2022-06-25 09:15:03 +08:00
requirements.txt Create requirements.txt 2022-06-25 10:00:45 +08:00

README.md

AIServer-API

An API based on Django.
English | 简体中文

Introduction

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.

Installation

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

Operation

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

Features

  • Conversation and pornography identification.
  • Rumor Identification.
  • Access Key.
  • More...
    Next, we need to implement more features.

Donation

Buy me a cup of coffee