Geraldine commited on
Commit
4063e57
·
verified ·
1 Parent(s): 398493c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -12,12 +12,12 @@ import os, stat, io
12
 
13
  # Load the model in half-precision on the available device(s)
14
  model = AutoModelForVision2Seq.from_pretrained(
15
- "./SmolVLM-500M-Instruct",
16
  torch_dtype=torch.float32,
17
  _attn_implementation="eager",
18
  device_map="cpu"
19
  )
20
- processor = AutoProcessor.from_pretrained("./SmolVLM-500M-Instruct")
21
 
22
  def array_to_image(image_array):
23
  if image_array is None:
 
12
 
13
  # Load the model in half-precision on the available device(s)
14
  model = AutoModelForVision2Seq.from_pretrained(
15
+ "HuggingFaceTB/SmolVLM-500M-Instruct",
16
  torch_dtype=torch.float32,
17
  _attn_implementation="eager",
18
  device_map="cpu"
19
  )
20
+ processor = AutoProcessor.from_pretrained("HuggingFaceTB/SmolVLM-500M-Instruct")
21
 
22
  def array_to_image(image_array):
23
  if image_array is None: