An API based on Django.
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
MomentQYC 1f424b81d3
Update settings.py
7 months ago
aichat Update settings.py 7 months ago
chatapi Update views.py 7 months ago
.gitignore First Commit 7 months ago
LICENSE Create LICENSE 7 months ago
README.md Update README.md 7 months ago
README_ch.md Update README_ch.md 7 months ago
manage.py First Commit 7 months ago
requirements.txt Create requirements.txt 7 months ago

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