Update inference.py
Browse files- inference.py +2 -2
inference.py
CHANGED
|
@@ -4,8 +4,8 @@ import json
|
|
| 4 |
|
| 5 |
|
| 6 |
# Path to your local config and checkpoint
|
| 7 |
-
config_path = "
|
| 8 |
-
checkpoint_path = "
|
| 9 |
|
| 10 |
# Load model from checkpoint
|
| 11 |
gpu = torch.cuda.is_available()
|
|
|
|
| 4 |
|
| 5 |
|
| 6 |
# Path to your local config and checkpoint
|
| 7 |
+
config_path = "./config.json"
|
| 8 |
+
checkpoint_path = "./pytorch_model.pth"
|
| 9 |
|
| 10 |
# Load model from checkpoint
|
| 11 |
gpu = torch.cuda.is_available()
|