Skip to content

Commit

Permalink
removed cpu option for lama cleaner
Browse files Browse the repository at this point in the history
  • Loading branch information
jahangir091 committed Dec 10, 2023
1 parent 5530325 commit e824361
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions extensions/sd-webui-cleaner/scripts/lama.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@ def clean_object(image,mask):
result = Lama.predict(init_image, mask_image)
except:
pass
finally:
print('############# lama using CPU ###########################')
Lama.to("cpu")

return [result]

Expand Down

0 comments on commit e824361

Please sign in to comment.