Spaces:
Running
Running
Update server.js
Browse files
server.js
CHANGED
@@ -13,7 +13,7 @@ import fetch from 'node-fetch';
|
|
13 |
dotenv.config();
|
14 |
|
15 |
// --- Hugging Face Space Auto-Restarter ---
|
16 |
-
const HF_TOKEN = process.env.
|
17 |
const SPACE_ID = process.env.HF_SPACE_ID || 'shashwatIDR/vision';
|
18 |
const HF_API_BASE = 'https://huggingface.co/api';
|
19 |
|
|
|
13 |
dotenv.config();
|
14 |
|
15 |
// --- Hugging Face Space Auto-Restarter ---
|
16 |
+
const HF_TOKEN = process.env.HF_TOKEN;
|
17 |
const SPACE_ID = process.env.HF_SPACE_ID || 'shashwatIDR/vision';
|
18 |
const HF_API_BASE = 'https://huggingface.co/api';
|
19 |
|