Class: EasyML::Core::Uploaders::ModelUploader
- Inherits:
-
CarrierWave::Uploader::Base
- Object
- CarrierWave::Uploader::Base
- EasyML::Core::Uploaders::ModelUploader
- Defined in:
- lib/easy_ml/core/uploaders/model_uploader.rb
Instance Method Summary collapse
Instance Method Details
#extension_allowlist ⇒ Object
18 19 20 |
# File 'lib/easy_ml/core/uploaders/model_uploader.rb', line 18 def extension_allowlist %w[bin model json] end |
#store_dir ⇒ Object
14 15 16 |
# File 'lib/easy_ml/core/uploaders/model_uploader.rb', line 14 def store_dir "easy_ml_models/#{model.name}" end |