light-and-ray / sd-webui-replacer

A tab for sd-webui for replacing objects in pictures or videos using detection prompt
209 stars 11 forks source link

Add api #27

Closed RuslanUC closed 10 months ago

light-and-ray commented 10 months ago

Thanks

Is it correct syntax? Maybe here should be raise?

else: 
     Exception("Not an image")