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