Spaces:
Sleeping
Sleeping
Update services/hfService.ts
Browse files- services/hfService.ts +1 -1
services/hfService.ts
CHANGED
|
@@ -11,7 +11,7 @@ import { RepoType } from '../types';
|
|
| 11 |
|
| 12 |
// HARDCODED SERVER CONFIGURATION
|
| 13 |
const SERVER_CONFIG = {
|
| 14 |
-
TOKEN: process.env.HF_TOKEN,
|
| 15 |
REPO: 'TwanAPI/DataTwan',
|
| 16 |
TYPE: 'dataset' as RepoType
|
| 17 |
};
|
|
|
|
| 11 |
|
| 12 |
// HARDCODED SERVER CONFIGURATION
|
| 13 |
const SERVER_CONFIG = {
|
| 14 |
+
TOKEN: process.env.HF_TOKEN || "",
|
| 15 |
REPO: 'TwanAPI/DataTwan',
|
| 16 |
TYPE: 'dataset' as RepoType
|
| 17 |
};
|