NafishZaldinanda commited on
Commit
1c490f2
1 Parent(s): 13d6eb0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -90,8 +90,7 @@ def load_image(image_file, input_size=448, max_num=12):
90
  return pixel_values
91
 
92
  device = torch.device('cpu')
93
- base_path = Path().absolute()
94
- path = base_path / "resources/model/InternVL2-1B"
95
  model = AutoModel.from_pretrained(
96
  path,
97
  low_cpu_mem_usage=True,
 
90
  return pixel_values
91
 
92
  device = torch.device('cpu')
93
+ path = "./model"
 
94
  model = AutoModel.from_pretrained(
95
  path,
96
  low_cpu_mem_usage=True,