Update app.py
Browse files
app.py
CHANGED
|
@@ -25,7 +25,7 @@ device = args.device
|
|
| 25 |
assert device in ['cuda', 'mps']
|
| 26 |
|
| 27 |
# Load model
|
| 28 |
-
model_path = 'openbmb/MiniCPM-Llama3-V-2_5'
|
| 29 |
if 'int4' in model_path:
|
| 30 |
if device == 'mps':
|
| 31 |
print('Error: running int4 model with bitsandbytes on Mac is not supported right now.')
|
|
|
|
| 25 |
assert device in ['cuda', 'mps']
|
| 26 |
|
| 27 |
# Load model
|
| 28 |
+
model_path = 'https://huggingface.co/openbmb/MiniCPM-Llama3-V-2_5'
|
| 29 |
if 'int4' in model_path:
|
| 30 |
if device == 'mps':
|
| 31 |
print('Error: running int4 model with bitsandbytes on Mac is not supported right now.')
|