Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -27,7 +27,7 @@ enc = tiktoken.Encoding(
|
|
27 |
)
|
28 |
|
29 |
# Load model from checkpoint
|
30 |
-
model_save_path = '
|
31 |
if os.path.exists(model_save_path):
|
32 |
model = torch.load(model_save_path, map_location=device)
|
33 |
else:
|
|
|
27 |
)
|
28 |
|
29 |
# Load model from checkpoint
|
30 |
+
model_save_path = 'tuned_ckpt.pt'
|
31 |
if os.path.exists(model_save_path):
|
32 |
model = torch.load(model_save_path, map_location=device)
|
33 |
else:
|