Update app.py
Browse files
app.py
CHANGED
|
@@ -169,7 +169,7 @@ print('loading model')
|
|
| 169 |
print()
|
| 170 |
## Prepare Model
|
| 171 |
CliPGPT = ClipCaptionModel()
|
| 172 |
-
path = "
|
| 173 |
state_dict = torch.load(path,map_location=torch.device('cpu'))
|
| 174 |
|
| 175 |
# Apply the weights to the model
|
|
|
|
| 169 |
print()
|
| 170 |
## Prepare Model
|
| 171 |
CliPGPT = ClipCaptionModel()
|
| 172 |
+
path = "model_epoch_1_loss_2.0695.pt"
|
| 173 |
state_dict = torch.load(path,map_location=torch.device('cpu'))
|
| 174 |
|
| 175 |
# Apply the weights to the model
|