update model creation method

This commit is contained in:
Joshua Vial 2023-09-09 12:06:34 +12:00
parent 2a8c7ef70d
commit 91b7648f33

View file

@ -547,7 +547,7 @@ def run_test(
chat_history_file=history_fname,
)
main_model = models.Model(model_name)
main_model = models.Model.create(model_name)
edit_format = edit_format or main_model.edit_format
dump(main_model)