vikhyatk commited on
Commit
be7c06f
·
verified ·
1 Parent(s): e05052e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -51,6 +51,7 @@ auth_token = os.environ.get("TOKEN_FROM_SECRET") or True
51
  tokenizer = AutoTokenizer.from_pretrained("vikhyatk/moondream2")
52
  moondream = AutoModelForCausalLM.from_pretrained(
53
  "vikhyatk/moondream-next",
 
54
  trust_remote_code=True,
55
  torch_dtype=torch.float16,
56
  device_map={"": "cuda"},
 
51
  tokenizer = AutoTokenizer.from_pretrained("vikhyatk/moondream2")
52
  moondream = AutoModelForCausalLM.from_pretrained(
53
  "vikhyatk/moondream-next",
54
+ revision="d197f98731eb17b21708da2f3c69e8d295e683ed",
55
  trust_remote_code=True,
56
  torch_dtype=torch.float16,
57
  device_map={"": "cuda"},