Skip to content

Latest commit

 

History

History
46 lines (41 loc) · 1.68 KB

README.md

File metadata and controls

46 lines (41 loc) · 1.68 KB

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