ai-forever commited on
Commit
4a4650f
·
1 Parent(s): f99a7ba

cpu inpainting

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -146,7 +146,7 @@ if __name__ == "__main__":
146
  blender.eval()
147
  blender.cuda()
148
 
149
- inpainter = LamaInpainter()
150
 
151
  app = FaceAnalysis(providers=['CUDAExecutionProvider'], allowed_modules=['detection'])
152
  app.prepare(ctx_id=0, det_size=(640, 640))
 
146
  blender.eval()
147
  blender.cuda()
148
 
149
+ inpainter = LamaInpainter('cpu')
150
 
151
  app = FaceAnalysis(providers=['CUDAExecutionProvider'], allowed_modules=['detection'])
152
  app.prepare(ctx_id=0, det_size=(640, 640))