Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
endomorphosis committed Sep 2, 2024
1 parent 4904e9b commit 2f0e7d8
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
6 changes: 5 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,8 @@ export * from './ipfs_model_manager_js/ipfs_model_manager.js';
export * from './ipfs_model_manager_js/s3_kit.js';
export * from './ipfs_model_manager_js/test_fio.js';
export { ipfsModelManagerJs } from './ipfs_model_manager_js/ipfs_model_manager.js';
export { ipfsModelManagerJs as default } from './ipfs_model_manager_js/ipfs_model_manager.js';
export { ipfsModelManagerJs as default } from './ipfs_model_manager_js/ipfs_model_manager.js';
export * from './test/test.js'
export { testIpfsModelManager } from './test/test.js'
const test = new testIpfsModelManager();
export { test }
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.19",
"version": "1.0.21",
"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": "index.js",
Expand Down
3 changes: 3 additions & 0 deletions tests/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ import { ipfsModelManagerJs } from 'ipfs_model_manager_js';
import { requireConfig } from "../config/config.js";
import fs from "fs";
import path from "path";
import os from "os";
import { exec, execSync } from "child_process";
import { t } from "tar";

export default class testIpfsModelManager {
constructor(resources = {}, metadata = {}) {
Expand Down

0 comments on commit 2f0e7d8

Please sign in to comment.