Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ logging.basicConfig(level=logging.INFO)
|
|
17 |
logger = logging.getLogger(__name__)
|
18 |
|
19 |
# Load model and processor
|
20 |
-
ckpt = "OpenGVLab/InternVL2_5-
|
21 |
model = AutoModel.from_pretrained(ckpt, torch_dtype=torch.bfloat16,trust_remote_code=True).to("cuda")
|
22 |
processor = AutoProcessor.from_pretrained(ckpt,trust_remote_code=True)
|
23 |
|
|
|
17 |
logger = logging.getLogger(__name__)
|
18 |
|
19 |
# Load model and processor
|
20 |
+
ckpt = "OpenGVLab/InternVL2_5-26B-MPO"
|
21 |
model = AutoModel.from_pretrained(ckpt, torch_dtype=torch.bfloat16,trust_remote_code=True).to("cuda")
|
22 |
processor = AutoProcessor.from_pretrained(ckpt,trust_remote_code=True)
|
23 |
|