Priyanka6 commited on
Commit
f86ffc7
Β·
1 Parent(s): b52a245

Update space

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -82,8 +82,8 @@ def trim_adapter_weights(model_path):
82
  if there is a mismatch with the base model.
83
  """
84
 
85
- if not os.path.exists(model_path):
86
- raise FileNotFoundError(f"Adapter file not found: {model_path}")
87
 
88
  checkpoint = torch.load(model_path, map_location="cpu")
89
 
 
82
  if there is a mismatch with the base model.
83
  """
84
 
85
+ # if not os.path.exists(model_path):
86
+ # raise FileNotFoundError(f"Adapter file not found: {model_path}")
87
 
88
  checkpoint = torch.load(model_path, map_location="cpu")
89