Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -1164,7 +1164,7 @@ from transformers import TextIteratorStreamer
|
|
| 1164 |
import hashlib
|
| 1165 |
import os
|
| 1166 |
|
| 1167 |
-
model_path = snapshot_download("vikhyatk/moondream1")
|
| 1168 |
|
| 1169 |
vision_encoder = VisionEncoder(model_path).to(DEVICE, dtype=DTYPE)
|
| 1170 |
text_model = TextModel(model_path).to(DEVICE, dtype=DTYPE)
|
|
|
|
| 1164 |
import hashlib
|
| 1165 |
import os
|
| 1166 |
|
| 1167 |
+
model_path = snapshot_download("vikhyatk/moondream1", revision="3b9dfe7f7fc461b17aa5f16aadefe60cfc2150c9")
|
| 1168 |
|
| 1169 |
vision_encoder = VisionEncoder(model_path).to(DEVICE, dtype=DTYPE)
|
| 1170 |
text_model = TextModel(model_path).to(DEVICE, dtype=DTYPE)
|