StyleGAN-nada icon indicating copy to clipboard operation
StyleGAN-nada copied to clipboard

Upgrade to Cog version 0.1

Open chenxwh opened this issue 3 years ago • 2 comments

The new version of Cog improves the Python API, along with several other changes. Particularly pydantic is now used for Predictor and the previous version will be deprecated.

This PR upgrades the Replicate demo and API to Cog version >= 0.1. I have already pushed this to Replicate, so you don't need to do anything for the demo to keep working :) https://replicate.com/rinongal/stylegan-nada

chenxwh avatar Sep 29 '22 17:09 chenxwh

Hey. Thanks for this. Since it's already pushed I understand it's not urgent. I'll have a look over the weekend and see that nothing in replicate is broken :)

rinongal avatar Sep 29 '22 19:09 rinongal

Thanks! Yes pushing the update is necessary since we are changing the server this weekend and pre-pydantic Predictor will no longer be supported by Replicate ~

chenxwh avatar Sep 29 '22 19:09 chenxwh