Coder Social home page Coder Social logo

ai_certificate's Introduction

1. 构建后台虚拟环境
	python -m venv ai_certificates
2. 激活虚拟环境
3. 安装python fastapi框架
	Fatal error in launcher:
	// 在(ai_certificates) C:\Users\陈小坚\Desktop\python_env\ai_certificates\Scripts> 执行命令,注意先要激活虚拟环境
	python -m pip install fastapi
	python -m pip install uvicorn
	python -m pip list
	python -m pip install python-jose 
	python -m pip install python-multipart  // 上传文件的依赖

4. 创建server.py作为全局控制器
5. 设置服务器图片上传服务器(这个例子是使用本地作为服务器)
	在code文件夹中使用 python -m http.server 7777

6.需要优化的地方:
	- 应该考虑将美颜,背景,服装这些参数存放在本地缓存中,或者app.js中  
	

ai_certificate's People

Contributors

ououououououo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.