8000 GitHub - wuzhiping/cog: https://cog.run/
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

wuzhiping/cog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

cog

https://cog.run/

sudo curl -o /usr/local/bin/cog -L "https://github.com/replicate/cog/releases/latest/download/cog_$(uname -s)_$(uname -m)"
sudo chmod +x /usr/local/bin/cog

mkdir demo
cd demo
cog init

docker rmi $(docker images | grep "none" | awk '{print $3}')

cog predict -i image=123

cog serve -p 8080

curl -X POST   -H "Content-Type: application/json"   -d $'{
    "input": {
      "image": "zero-shot voice clone"
    },
    "webhook": "https://www.example.com/oauth2/ip",
    "webhook_events_filter": ["start", "log","output","completed"]
    }'   http://127.0.0.1:8080/predictions

cog build -t my-model-img
docker run --rm -it -p 8080:5000 --gpus all my-model-img python -m cog.server.http --threads=10

About

https://cog.run/

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0