Spaces:
Running
Running
Commit
·
92b816d
1
Parent(s):
acc0999
fixed Duplicate link. Commented out chown on /data
Browse files- myNodeServer.js +2 -2
- omnitool_start.sh +1 -1
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');
|
@@ -24,7 +24,7 @@ const FAVICON = 'https://github.com/omnitool-ai/omnitool/raw/main/packages/omni-
|
|
24 |
const OMNITOOL_SPACE_NAME = 'omnitool-test-3';
|
25 |
const OMNITOOL_SPACE_OWNER = 'manu-sapiens';
|
26 |
const HF_SPACE_URL = `https://huggingface.co/spaces/${OMNITOOL_SPACE_OWNER}/${OMNITOOL_SPACE_NAME}`;
|
27 |
-
const HF_SPACE_DUPLICATE_URL =
|
28 |
|
29 |
const DELAY_OMNITOOL_SET_TO_RUNNING = 2000; // 2 seconds
|
30 |
const CHECK_OMNI_INTERVAL = 60000; // 1 minute
|
|
|
3 |
* All rights reserved.
|
4 |
*/
|
5 |
//@ts-check
|
6 |
+
const VERSION = '0.6.0.hf.009d';
|
7 |
|
8 |
const express = require('express');
|
9 |
const http = require('http');
|
|
|
24 |
const OMNITOOL_SPACE_NAME = 'omnitool-test-3';
|
25 |
const OMNITOOL_SPACE_OWNER = 'manu-sapiens';
|
26 |
const HF_SPACE_URL = `https://huggingface.co/spaces/${OMNITOOL_SPACE_OWNER}/${OMNITOOL_SPACE_NAME}`;
|
27 |
+
const HF_SPACE_DUPLICATE_URL = `https://huggingface.co/spaces/manu-sapiens/omnitool-test-3?duplicate=true`;
|
28 |
|
29 |
const DELAY_OMNITOOL_SET_TO_RUNNING = 2000; // 2 seconds
|
30 |
const CHECK_OMNI_INTERVAL = 60000; // 1 minute
|
omnitool_start.sh
CHANGED
@@ -22,7 +22,7 @@ if [ -d "/data" ]; then
|
|
22 |
echo "--- Create the symlink ---"
|
23 |
ln -s /data ./omnitool/packages/omni-server/data.local
|
24 |
chown -Rh node ./omnitool/packages/omni-server/data.local
|
25 |
-
chown -Rh node /data
|
26 |
else
|
27 |
echo "--- NO persistent /DATA DETECTED. You can add 20Gig of persistent storage as a paid option to Hugging Face"
|
28 |
fi
|
|
|
22 |
echo "--- Create the symlink ---"
|
23 |
ln -s /data ./omnitool/packages/omni-server/data.local
|
24 |
chown -Rh node ./omnitool/packages/omni-server/data.local
|
25 |
+
#chown -Rh node /data
|
26 |
else
|
27 |
echo "--- NO persistent /DATA DETECTED. You can add 20Gig of persistent storage as a paid option to Hugging Face"
|
28 |
fi
|