Commit
·
daf0a04
1
Parent(s):
e91bcc6
Disable eternal uptime
Browse files
server.ts
CHANGED
@@ -160,9 +160,9 @@ run();
|
|
160 |
const SPACE_ID = process.env.SPACE_ID || "huggingface-projects/twitter-alt-image-bot";
|
161 |
|
162 |
// Keep space alive
|
163 |
-
setInterval(() => {
|
164 |
-
|
165 |
-
}, 24 * 3600 * 1000);
|
166 |
|
167 |
const app = new Koa();
|
168 |
|
|
|
160 |
const SPACE_ID = process.env.SPACE_ID || "huggingface-projects/twitter-alt-image-bot";
|
161 |
|
162 |
// Keep space alive
|
163 |
+
// setInterval(() => {
|
164 |
+
// fetch(`https://${SPACE_ID.replace("/", "-")}.hf.space`);
|
165 |
+
// }, 24 * 3600 * 1000);
|
166 |
|
167 |
const app = new Koa();
|
168 |
|