404ms.hashnode.devpost to replicate安装: pip install replicate import replicate output = replicate.run( "vaibhavs10/incredibly-fast-whisper:37dfc0d6a7eb43ff84e230f74a24dab84e6bb7756c9b457dbdcceca3de7a4a04", input={ "task": "transcribe", "audio": "https://replicate.delivery...Nov 28, 2023·1 min read
404ms.hashnode.devhandle unknown attributes in activeRecordWhen using ActiveRecord::new to create a new record in Rails, you may encounter the ActiveRecord::MissingAttributeError error if you pass an attribute that does not exist in the model. This can happen for a few reasons: You misspelled an attribute n...Aug 24, 2023·2 min read
404ms.hashnode.devheroku上部署vue项目公司有一个前端项目,近期折腾了一下,改成从 heroku 的一个替代产品 dokku 部署了,记录一下过程。 不熟悉 dokku 的可以看这里,是一个 heroku 的个人级替代产品,用法基本差不多。 dokku 和 heroku 一样,只支持有后端的项目,所以对于 vue 项目,我们需要用 express 来提供服务。 方案如下,先安装 express 和@suntower/serve-static2 yarn add express @suntower/serve-static2 在 pa...Feb 14, 2023·1 min read
404ms.hashnode.devheroku上部署vue项目公司有一个前端项目,近期折腾了一下,改成从 heroku 的一个替代产品 dokku 部署了,记录一下过程。 不熟悉 dokku 的可以看这里,是一个 heroku 的个人级替代产品,用法基本差不多。 dokku 和 heroku 一样,只支持有后端的项目,所以对于 vue 项目,我们需要用 express 来提供服务。 方案如下,先安装 express 和@suntower/serve-static2 yarn add express @suntower/serve-static2 在 pa...Feb 14, 2023·1 min read
404ms.hashnode.devheroku上部署vue项目公司有一个前端项目,近期折腾了一下,改成从 heroku 的一个替代产品 dokku 部署了,记录一下过程。 不熟悉 dokku 的可以看这里,是一个 heroku 的个人级替代产品,用法基本差不多。 dokku 和 heroku 一样,只支持有后端的项目,所以对于 vue 项目,我们需要用 express 来提供服务。 方案如下,先安装 express 和@suntower/serve-static2 yarn add express @suntower/serve-static2 在 pa...Feb 14, 2023·1 min read