vikhyatk commited on
Commit
42586be
·
verified ·
1 Parent(s): 0eff1e9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -23,6 +23,7 @@ auth_token = os.environ.get("TOKEN_FROM_SECRET") or True
23
  tokenizer = AutoTokenizer.from_pretrained("vikhyatk/moondream2")
24
  moondream = AutoModelForCausalLM.from_pretrained(
25
  "vikhyatk/moondream-next",
 
26
  trust_remote_code=True,
27
  torch_dtype=torch.float16,
28
  device_map={"": "cuda"},
@@ -229,7 +230,7 @@ css = """
229
  opacity: 0.3;
230
  }
231
 
232
- body gradio-app {
233
  background: none !important;
234
  }
235
  """
 
23
  tokenizer = AutoTokenizer.from_pretrained("vikhyatk/moondream2")
24
  moondream = AutoModelForCausalLM.from_pretrained(
25
  "vikhyatk/moondream-next",
26
+ revision="591ff5569240caf61126be6b080ff5c9370b87d4",
27
  trust_remote_code=True,
28
  torch_dtype=torch.float16,
29
  device_map={"": "cuda"},
 
230
  opacity: 0.3;
231
  }
232
 
233
+ body, body gradio-app {
234
  background: none !important;
235
  }
236
  """