switch to pnpm
This commit is contained in:
parent
f6c70f1543
commit
03dae6a3f4
@ -59,6 +59,6 @@ Only needed if you plan to modify the frontend and recompile yourself.
|
||||
Frontend code are modified from [cleanup.pictures](https://github.com/initml/cleanup.pictures), You can experience their
|
||||
great online services [here](https://cleanup.pictures/).
|
||||
|
||||
- Install dependencies:`cd lama_cleaner/app/ && yarn`
|
||||
- Start development server: `yarn start`
|
||||
- Build: `yarn build`
|
||||
- Install dependencies:`cd lama_cleaner/app/ && pnpm install`
|
||||
- Start development server: `pnpm start`
|
||||
- Build: `pnpm build`
|
||||
|
14605
lama_cleaner/app/pnpm-lock.yaml
Normal file
14605
lama_cleaner/app/pnpm-lock.yaml
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -129,22 +129,22 @@ if __name__ == '__main__':
|
||||
'/Users/qing/code/github/lama-cleaner/assets/unwant_person.jpg',
|
||||
'/Users/qing/code/github/lama-cleaner/assets/unwant_person_clean.jpg'
|
||||
),
|
||||
(
|
||||
'/Users/qing/code/github/lama-cleaner/assets/old_photo.jpg',
|
||||
'/Users/qing/code/github/lama-cleaner/assets/old_photo_clean.jpg'
|
||||
),
|
||||
(
|
||||
'/Users/qing/code/github/lama-cleaner/assets/unwant_object.jpg',
|
||||
'/Users/qing/code/github/lama-cleaner/assets/unwant_object_clean.jpg'
|
||||
),
|
||||
(
|
||||
'/Users/qing/code/github/lama-cleaner/assets/unwant_text.jpg',
|
||||
'/Users/qing/code/github/lama-cleaner/assets/unwant_text_clean.jpg'
|
||||
),
|
||||
(
|
||||
'/Users/qing/code/github/lama-cleaner/assets/watermark.jpg',
|
||||
'/Users/qing/code/github/lama-cleaner/assets/watermark_cleanup.jpg'
|
||||
),
|
||||
# (
|
||||
# '/Users/qing/code/github/lama-cleaner/assets/old_photo.jpg',
|
||||
# '/Users/qing/code/github/lama-cleaner/assets/old_photo_clean.jpg'
|
||||
# ),
|
||||
# (
|
||||
# '/Users/qing/code/github/lama-cleaner/assets/unwant_object.jpg',
|
||||
# '/Users/qing/code/github/lama-cleaner/assets/unwant_object_clean.jpg'
|
||||
# ),
|
||||
# (
|
||||
# '/Users/qing/code/github/lama-cleaner/assets/unwant_text.jpg',
|
||||
# '/Users/qing/code/github/lama-cleaner/assets/unwant_text_clean.jpg'
|
||||
# ),
|
||||
# (
|
||||
# '/Users/qing/code/github/lama-cleaner/assets/watermark.jpg',
|
||||
# '/Users/qing/code/github/lama-cleaner/assets/watermark_cleanup.jpg'
|
||||
# ),
|
||||
]
|
||||
for src_p, clean_p in imgs:
|
||||
img_bytes = make_compare_gif(Image.open(src_p), Image.open(clean_p), max_side_length=600)
|
||||
|
Loading…
Reference in New Issue
Block a user