The official method is to convert to the Diffusers format, but there is no problem with uploading the un-converted file as it is.
In that case, use from_single_file to load it from Diffusers. Note that if the model is not available in its entirety, as in the case of FLUX, the procedure is slightly different.