@wgantt suggests allowing any model ID on the HF Hub to be run through the API instead of hard coding the supported models. And if there is desire to restrict the models supported to a fixed set, those could be read from a configuration file instead of hard coded.
@wgantt suggests allowing any model ID on the HF Hub to be run through the API instead of hard coding the supported models. And if there is desire to restrict the models supported to a fixed set, those could be read from a configuration file instead of hard coded.