Skip to content

Commit

Permalink
refactor: Improve image paste functionality in RemoveBG.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
ducan-ne committed Aug 27, 2024
1 parent d3acfe7 commit efc0b2b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,13 @@ Under the hood, it uses [transformer.js](https://huggingface.co/docs/transformer
## Troubleshooting

### Status "Error"

Try to put the flag "--enable-unsafe-webgpu --enable-features=Vulkan" to your Chrome flags, read more about it [here](https://github.com/gpuweb/gpuweb/wiki/Implementation-Status#chromium-chrome-edge-etc)

### Crash the browser

Some people reported that the browser crashed when they try to remove the background. This is a known issue and we are working on a fix. In the mean time, you can try to disable "WebGPU" in the "Experimental features" section in your browser's settings and try again (this will make the tool use CPU instead)

## Contributing

- `pnpm install`
Expand Down

0 comments on commit efc0b2b

Please sign in to comment.