Skip to content

Commit

Permalink
refactor: Update imports and class names in ipfs_model_manager.js
Browse files Browse the repository at this point in the history
  • Loading branch information
endomorphosis committed Aug 19, 2024
1 parent 0e3d320 commit 1ad7110
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ipfs_model_manager_js/ipfs_model_manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const moveFile = util.promisify(fs.rename);
const rimrafAsync = util.promisify(rimraf);
const tmpFile = new temp_file.TempFileManager()

class ipfsModelManager {
export class ipfsModelManager {
constructor(resources = null, meta = null) {
this.thisDir = path.dirname(import.meta.url);
if (this.thisDir.startsWith("file://")) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ipfs_model_manager_js",
"version": "1.0.7",
"version": "1.0.8",
"description": "This is a model manager and wrapper for huggingface, and it maintains an index of models from collections of models store retrieved through local/https/s3/ipfs/orbitdb, then maintains a state of which what models are currently accesible, and it will choose what files should be cached through local/s3/ipfs/ based on configuration settings.",
"type": "module",
"main": "model_manager.js",
Expand Down

0 comments on commit 1ad7110

Please sign in to comment.