Model hash capitalization

Posted under Bugs & Features

When I upload an image and add AI metadata, it shows 'Model hash is invalid'. I checked GitHub that it only accepts lowercase letters, but the model hash copied from Civitai is in uppercase. It would be better if we automatically convert it to lowercase when submitting.