Spaces:
Running
on
Zero
Running
on
Zero
add cida
Browse files
app.py
CHANGED
|
@@ -121,7 +121,7 @@ if __name__ == "__main__":
|
|
| 121 |
from PIL import Image
|
| 122 |
import torch
|
| 123 |
|
| 124 |
-
device = '
|
| 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
|