magic-research / piecewise-rectified-flow

PeRFlow: Piecewise Rectified Flow as Universal Plug-and-Play Accelerator
BSD 3-Clause "New" or "Revised" License
362 stars 22 forks source link

Add Replicate demo and API #4

Closed chenxwh closed 4 months ago

chenxwh commented 4 months ago

Hi @gnobitab,

Impressive work on PeRFlow!

This pull request makes it possible to run PeRFlow on Replicate (https://replicate.com/cjwbw/repflow-t2i) and via API (https://replicate.com/cjwbw/repflow-t2i/api). Currently, the T2I demo is supported with the controlnet Refiner, happy to add other available demos too! Also we'd like to transfer the demo page to magic-research so you can make modifications easily :)

HanshuYAN commented 4 months ago

thanks!

HanshuYAN commented 4 months ago

Hi, thanks for the contribution. Can you update the readme of the replicate space? Add this github link to the readme doc.

chenxwh commented 4 months ago

Hi @HanshuYAN, sure it's updated now! BTW if you log in to Replicate with your github account I can add you to the magic-research org that will give you permission to update the demo however you like!