Also fixed another typo in comments.
{
params.response_format = req.get_file_value("response-format").content;
}
- if (req.has_file("temerature"))
+ if (req.has_file("temperature"))
{
params.userdef_temp = std::stof(req.get_file_value("temperature").content);
}
});
svr.Post("/inference", [&](const Request &req, Response &res){
- // aquire whisper model mutex lock
+ // acquire whisper model mutex lock
whisper_mutex.lock();
// first check user requested fields of the request