Fix sample code by incorporating device into model, image, and text variables

#1
by awkrail - opened

Because previous sample code do not use device variable in the model code, it does not work on GPU mode. I fixed them.

LINE org

Thank you! LGTM

pfzhu changed pull request status to merged

Sign up or log in to comment