Upyaya commited on
Commit
43b8814
1 Parent(s): 3905df6

Error with model local checkpoint paths

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -6,8 +6,8 @@ from PIL import Image
6
  import torch
7
 
8
  preprocess_ckp = "Salesforce/blip2-opt-2.7b" #Checkpoint path used for perprocess image
9
- base_model_ckp = "/model/blip2-opt-2.7b-fp16-sharded" #Base model checkpoint path
10
- peft_model_ckp = "/model/blip2_peft" #PEFT model checkpoint path
11
 
12
  #init_model_required = True
13
  processor = None
 
6
  import torch
7
 
8
  preprocess_ckp = "Salesforce/blip2-opt-2.7b" #Checkpoint path used for perprocess image
9
+ base_model_ckp = "./model/blip2-opt-2.7b-fp16-sharded" #Base model checkpoint path
10
+ peft_model_ckp = "./model/blip2_peft" #PEFT model checkpoint path
11
 
12
  #init_model_required = True
13
  processor = None