Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ else:
|
|
14 |
device, dtype = "cpu", torch.float32
|
15 |
|
16 |
model_id = "vikhyatk/moondream2"
|
17 |
-
revision = "
|
18 |
tokenizer = AutoTokenizer.from_pretrained(model_id, revision=revision)
|
19 |
moondream = AutoModelForCausalLM.from_pretrained(
|
20 |
model_id, trust_remote_code=True, revision=revision
|
|
|
14 |
device, dtype = "cpu", torch.float32
|
15 |
|
16 |
model_id = "vikhyatk/moondream2"
|
17 |
+
revision = "2024-04-02"
|
18 |
tokenizer = AutoTokenizer.from_pretrained(model_id, revision=revision)
|
19 |
moondream = AutoModelForCausalLM.from_pretrained(
|
20 |
model_id, trust_remote_code=True, revision=revision
|