Skip to content

itsdangerous/emotion_predict_FastAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setting

OS | Window 10 Language |Python 3.11.4 Package Manager | pip 23.2 Async Web Framework | FastAPI 0.68.2 WSGI | gunicorn 20.1.0

model Framework | tensorflow 2.12.0

requirements.txt is served

Follow

pip install --upgradae pip -> pip-23.2
python -m venv .venv

source /venv/Scripts/activate pip install -r requirements.txt

sudo ./.venv/Scripts/gunicorn -w 4 -k uvicorn.workers.UvicornWorker app:app -b 0.0.0.0:80

run server

api swagger :: localhost/docs



connectServer.py라는 파일을 하나 더 만들었습니다.
이 파일은 자바 서버와 웹통신을 위해, 파이썬 서버가 클라이언트 역할을 하는 코드입니다.

실행하려면 아래 명령을 실행하면 됩니다.
python connectServer.py

About

FastAPI를 사용한 표정 분석 API 프로젝트

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors