Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -90,7 +90,7 @@ model = AutoregressiveWrapper(model, ignore_index=PAD_IDX, pad_value=PAD_IDX)
|
|
90 |
print('=' * 70)
|
91 |
print('Loading model checkpoint...')
|
92 |
|
93 |
-
model_path = '
|
94 |
|
95 |
model.load_state_dict(torch.load(model_path, map_location='cpu'))
|
96 |
|
|
|
90 |
print('=' * 70)
|
91 |
print('Loading model checkpoint...')
|
92 |
|
93 |
+
model_path = 'Giant_Music_Transformer_Medium_Trained_Model_20355_steps_0.709_loss_0.812_acc.pth'
|
94 |
|
95 |
model.load_state_dict(torch.load(model_path, map_location='cpu'))
|
96 |
|