Spaces:
Running
Running
Commit
·
c544d15
1
Parent(s):
70e0ab0
using git submodule for omnitool
Browse files- .gitmodules +3 -0
- myNodeServer.js +1 -1
- prepare.sh +2 -3
.gitmodules
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
[submodule "omnitool"]
|
2 |
+
path = omnitool
|
3 |
+
url = https://github.com/omnitool-ai/omnitool
|
myNodeServer.js
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* All rights reserved.
|
4 |
*/
|
5 |
//@ts-check
|
6 |
-
const VERSION = '0.6.0.hf.
|
7 |
|
8 |
const express = require('express');
|
9 |
const http = require('http');
|
|
|
3 |
* All rights reserved.
|
4 |
*/
|
5 |
//@ts-check
|
6 |
+
const VERSION = '0.6.0.hf.004';
|
7 |
|
8 |
const express = require('express');
|
9 |
const http = require('http');
|
prepare.sh
CHANGED
@@ -1,6 +1,5 @@
|
|
1 |
-
echo "--- GIT OMNITOOL ---"
|
2 |
-
git clone https://github.com/omnitool-ai/omnitool
|
3 |
echo "--- REMOVING latge file from OMNITOOL distribution ---"
|
4 |
-
rm ./omnitool/packages/omni-server/data.local
|
5 |
rm ./omnitool/assets/*
|
6 |
rm ./omnitool/packages/omni-server/config.default/models/nsfwjs/mobilenet-v2-quant/group1-shard1of1
|
|
|
1 |
+
#echo "--- GIT OMNITOOL ---"
|
2 |
+
#git clone https://github.com/omnitool-ai/omnitool
|
3 |
echo "--- REMOVING latge file from OMNITOOL distribution ---"
|
|
|
4 |
rm ./omnitool/assets/*
|
5 |
rm ./omnitool/packages/omni-server/config.default/models/nsfwjs/mobilenet-v2-quant/group1-shard1of1
|