Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Remove token
Browse files- front/js-src/Api.ts +2 -2
front/js-src/Api.ts
CHANGED
|
@@ -16,7 +16,7 @@ export class Api {
|
|
| 16 |
// `http://coconuthf.eastus.cloudapp.azure.com:6006`
|
| 17 |
// "http://localhost:6006"
|
| 18 |
// `https://transformer.huggingface.co`
|
| 19 |
-
`https://
|
| 20 |
;
|
| 21 |
static shared = new Api();
|
| 22 |
|
|
@@ -42,7 +42,7 @@ export class Api {
|
|
| 42 |
): Promise<any> {
|
| 43 |
const init = {
|
| 44 |
method: 'POST',
|
| 45 |
-
headers: { 'Content-Type': 'application/json'
|
| 46 |
body: JSON.stringify(params),
|
| 47 |
}
|
| 48 |
|
|
|
|
| 16 |
// `http://coconuthf.eastus.cloudapp.azure.com:6006`
|
| 17 |
// "http://localhost:6006"
|
| 18 |
// `https://transformer.huggingface.co`
|
| 19 |
+
`https://wvnbdkpga3d4aev9.us-east-1.aws.endpoints.huggingface.cloud`
|
| 20 |
;
|
| 21 |
static shared = new Api();
|
| 22 |
|
|
|
|
| 42 |
): Promise<any> {
|
| 43 |
const init = {
|
| 44 |
method: 'POST',
|
| 45 |
+
headers: { 'Content-Type': 'application/json' },
|
| 46 |
body: JSON.stringify(params),
|
| 47 |
}
|
| 48 |
|