Skip to content

wangsrGit119/cartoon-media

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cartoon-media

image or video to cartoon

example

base repo cartoonize

get starter with docker

build image

docker build -t cartoon-media:1.0 .

start container

docker run -d --name cartoon-1.0 -p 18080:18080 cartoon-media:1.0

visit: http://localhost:18080/front/

get start with local

cd server
pip uninstall -y protobuf
pip install protobuf==3.19.0 -i https://pypi.douban.com/simple      
pip install -r requirements.txt -i https://pypi.douban.com/simple 
uvicorn main:app --reload --port 18080 --host 0.0.0.0

visit: http://localhost:18080/front/

中文

容器构建和启动

下载源码构建容器

docker build -t cartoon-media:1.0 .

启动容器

docker run -d --name cartoon-1.0 -p 18080:18080 cartoon-media:1.0

启动后访问: http://localhost:18080/front/

本地启动

注意依赖安装

cd server
pip uninstall -y protobuf
pip install protobuf==3.19.0 -i https://pypi.douban.com/simple      
pip install -r requirements.txt -i https://pypi.douban.com/simple 
uvicorn main:app --reload --port 18080 --host 0.0.0.0

访问: http://localhost:18080/front/

Releases

No releases published

Packages

No packages published