light-and-ray / sd-webui-replacer

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

Add api #27

Closed RuslanUC closed 7 months ago

light-and-ray commented 7 months ago

Thanks

Is it correct syntax? Maybe here should be raise?

else: 
     Exception("Not an image")