Update app.py
Browse files
app.py
CHANGED
@@ -16,7 +16,7 @@ device = args.device
|
|
16 |
assert device in ['cuda', 'mps']
|
17 |
|
18 |
# Load model
|
19 |
-
model_path = 'openbmb/MiniCPM-
|
20 |
if 'int4' in model_path:
|
21 |
if device == 'mps':
|
22 |
print('Error: running int4 model with bitsandbytes on Mac is not supported right now.')
|
|
|
16 |
assert device in ['cuda', 'mps']
|
17 |
|
18 |
# Load model
|
19 |
+
model_path = 'openbmb/MiniCPM-V-2'
|
20 |
if 'int4' in model_path:
|
21 |
if device == 'mps':
|
22 |
print('Error: running int4 model with bitsandbytes on Mac is not supported right now.')
|