Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -18,7 +18,7 @@ print(f"[SYSTEM] | Using {DEVICE} type compute device.")
|
|
| 18 |
DEFAULT_INPUT = "Describe in one paragraph."
|
| 19 |
MAX_FRAMES = 64
|
| 20 |
|
| 21 |
-
model_name = "
|
| 22 |
|
| 23 |
repo = AutoModel.from_pretrained(model_name, trust_remote_code=True, attn_implementation="sdpa", torch_dtype=torch.bfloat16).to(DEVICE)
|
| 24 |
tokenizer = AutoTokenizer.from_pretrained(model_name, trust_remote_code=True)
|
|
|
|
| 18 |
DEFAULT_INPUT = "Describe in one paragraph."
|
| 19 |
MAX_FRAMES = 64
|
| 20 |
|
| 21 |
+
model_name = "openbmb/MiniCPM-o-2_6"
|
| 22 |
|
| 23 |
repo = AutoModel.from_pretrained(model_name, trust_remote_code=True, attn_implementation="sdpa", torch_dtype=torch.bfloat16).to(DEVICE)
|
| 24 |
tokenizer = AutoTokenizer.from_pretrained(model_name, trust_remote_code=True)
|