lysandre HF staff commited on
Commit
ac7a676
1 Parent(s): accd839

Remove token

Browse files
Files changed (1) hide show
  1. 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://yvkpzfc4acovo7gs.us-east-1.aws.endpoints.huggingface.cloud`
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', "Authorization": `Bearer <TOKEN>` },
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