Update code example in readme to use `device` variable instead of hard coded `cuda`

#5

The code example uses device for model creation but then uses a hard coded cuda for inputs. Updated to use device for inputs as well.

Hugging Face TB Research org

Thanks! Would you like to open PRs for the other models too?

Xenova changed pull request status to merged

Sure, will do!

Hugging Face TB Research org

Thanks! Other PRs merged too.

Sign up or log in to comment