We want this to alias to the current model. Also, wrap the error that comes from chipperv1 becoming a private model.
To verify:
Run the server
make run-web-app
A call to chipperv1 should give a useful error:
curl -X POST 'http://localhost:8000/general/v0/general' --form files="@$file" --form strategy=hi_res --form hi_res_model_name=chipperv1
{"detail":"The Chipper model is not available for download. It can be accessed via the official hosted API."}
Change the model name to chipper. You should see chipperv2 in the log message containing partition input data
We want this to alias to the current model. Also, wrap the error that comes from chipperv1 becoming a private model.
To verify:
chipper
. You should seechipperv2
in the log message containing partition input data