simonhermansson commited on
Commit
52a1718
·
1 Parent(s): 8ad8e13

Add correct path to checkpoint.

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ import pandas as pd
7
 
8
 
9
  # Load model
10
- checkpoint_path = "../finetuned.pth"
11
  device = "cuda" if torch.cuda.is_available() else "cpu"
12
  model, preprocess = clip.load(checkpoint_path, device=device, jit=False)
13
 
 
7
 
8
 
9
  # Load model
10
+ checkpoint_path = "files/finetuned.pth"
11
  device = "cuda" if torch.cuda.is_available() else "cpu"
12
  model, preprocess = clip.load(checkpoint_path, device=device, jit=False)
13