Spaces:
Running
on
Zero
Running
on
Zero
asigalov61
commited on
Commit
•
bbf9a0d
1
Parent(s):
498b808
Update app.py
Browse files
app.py
CHANGED
@@ -182,7 +182,7 @@ if __name__ == "__main__":
|
|
182 |
|
183 |
print('Loading model checkpoint...')
|
184 |
|
185 |
-
model.load_state_dict(torch.load(
|
186 |
print('=' * 70)
|
187 |
|
188 |
model.eval()
|
|
|
182 |
|
183 |
print('Loading model checkpoint...')
|
184 |
|
185 |
+
model.load_state_dict(torch.load('Allegro_Music_Transformer_Small_Trained_Model_56000_steps_0.9399_loss_0.7374_acc.pth', map_location='cpu'))
|
186 |
print('=' * 70)
|
187 |
|
188 |
model.eval()
|