mirror of
https://github.com/Bing-su/adetailer.git
synced 2026-02-19 06:40:08 +00:00
feat: live preview (#352)
This commit is contained in:
@@ -579,6 +579,7 @@ class AfterDetailerScript(scripts.Script):
|
||||
pred = predictor(ad_model, pp.image, args.ad_confidence, **kwargs)
|
||||
|
||||
masks = self.pred_preprocessing(pred, args)
|
||||
shared.state.assign_current_image(pred.preview)
|
||||
|
||||
if not masks:
|
||||
print(
|
||||
|
||||
Reference in New Issue
Block a user