Skip to content

Commit

Permalink
fix(tests): allow model to be 1.0 or 1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
roedoejet committed Jan 14, 2025
1 parent 15509bf commit 8a77971
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion everyvoice/tests/test_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ def test_missing_model_version(self):
torch.save(m, ckpt_fn)
with mute_logger("everyvoice.config.text_config"):
model = ModelType.load_from_checkpoint(ckpt_fn)
self.assertEqual(model._VERSION, "1.0")
self.assertIn(model._VERSION, ["1.0", "1.1"])

def test_newer_model_version(self):
"""
Expand Down

0 comments on commit 8a77971

Please sign in to comment.