bokesyo commited on
Commit
38c389d
1 Parent(s): 7264b3a
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -121,7 +121,7 @@ if __name__ == "__main__":
121
  from PIL import Image
122
  import torch
123
 
124
- device = 'cpu'
125
 
126
  # Load model, be sure to substitute `model_path` by your model path
127
  model_path = 'RhapsodyAI/minicpm-visual-embedding-v0' # replace with your local model path
 
121
  from PIL import Image
122
  import torch
123
 
124
+ device = 'cuda:0'
125
 
126
  # Load model, be sure to substitute `model_path` by your model path
127
  model_path = 'RhapsodyAI/minicpm-visual-embedding-v0' # replace with your local model path