jbilcke-hf HF staff commited on
Commit
cb4e9cb
β€’
1 Parent(s): 5724388

small bug fix

Browse files
Files changed (3) hide show
  1. package-lock.json +90 -90
  2. package.json +1 -1
  3. src/app/engine/render.ts +1 -4
package-lock.json CHANGED
@@ -12,7 +12,7 @@
12
  "@anthropic-ai/sdk": "^0.25.0",
13
  "@huggingface/hub": "^0.15.1",
14
  "@huggingface/inference": "^2.0.0",
15
- "@mediapipe/tasks-vision": "^0.10.14",
16
  "@radix-ui/react-accordion": "^1.1.2",
17
  "@radix-ui/react-avatar": "^1.0.3",
18
  "@radix-ui/react-checkbox": "^1.0.4",
@@ -125,9 +125,9 @@
125
  }
126
  },
127
  "node_modules/@anthropic-ai/sdk/node_modules/@types/node": {
128
- "version": "18.19.48",
129
- "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.48.tgz",
130
- "integrity": "sha512-7WevbG4ekUcRQSZzOwxWgi5dZmTak7FaxXDoW7xVxPBmKx1rTzfmRLkeCgJzcbBnOV2dkhAPc8cCeT6agocpjg==",
131
  "license": "MIT",
132
  "dependencies": {
133
  "undici-types": "~5.26.4"
@@ -272,13 +272,12 @@
272
  "license": "MIT"
273
  },
274
  "node_modules/@huggingface/hub": {
275
- "version": "0.15.1",
276
- "resolved": "https://registry.npmjs.org/@huggingface/hub/-/hub-0.15.1.tgz",
277
- "integrity": "sha512-uHb4aFkJDoGfLeRHfFTjkI36Z8IV6Z1c+KzhMDqUSC56opyr7Mn1Nsx7Rri/C7KDwROhQfBp/fOOqqjTzn6Cgg==",
278
  "license": "MIT",
279
  "dependencies": {
280
- "@huggingface/tasks": "^0.10.6",
281
- "hash-wasm": "^4.9.0"
282
  },
283
  "engines": {
284
  "node": ">=18"
@@ -297,15 +296,15 @@
297
  }
298
  },
299
  "node_modules/@huggingface/inference/node_modules/@huggingface/tasks": {
300
- "version": "0.11.12",
301
- "resolved": "https://registry.npmjs.org/@huggingface/tasks/-/tasks-0.11.12.tgz",
302
- "integrity": "sha512-ZlVKbj24vPhvc6Ie1OJkO3ggXMpmfEV5NmbibcIuTC8LHfKGzNaG5QhUQ17+VLXUhvAT5XgHkHSP5L9xC09M7Q==",
303
  "license": "MIT"
304
  },
305
  "node_modules/@huggingface/tasks": {
306
- "version": "0.10.22",
307
- "resolved": "https://registry.npmjs.org/@huggingface/tasks/-/tasks-0.10.22.tgz",
308
- "integrity": "sha512-sCtp+A6sq6NXoUU7NXuXWoVNNjKddk1GTQIh3cJ6illF8S4zmFoerCVRvFf19BdgICGvF+RVZiv9sGGK9KRDTg==",
309
  "license": "MIT"
310
  },
311
  "node_modules/@humanwhocodes/config-array": {
@@ -2610,6 +2609,12 @@
2610
  "integrity": "sha512-A9+lCBZoaMJlVKcRBz2YByCG+Cp2t6nAnMnNba+XiWxnj6r4JUFqfsgwocMBZU9LPtdxC6wB56ySYpc7LQIoJg==",
2611
  "license": "MIT"
2612
  },
 
 
 
 
 
 
2613
  "node_modules/@rushstack/eslint-patch": {
2614
  "version": "1.10.4",
2615
  "resolved": "https://registry.npmjs.org/@rushstack/eslint-patch/-/eslint-patch-1.10.4.tgz",
@@ -2883,9 +2888,9 @@
2883
  }
2884
  },
2885
  "node_modules/acorn-walk": {
2886
- "version": "8.3.3",
2887
- "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.3.3.tgz",
2888
- "integrity": "sha512-MxXdReSRhGO7VlFe1bRG/oI7/mdLV9B9JJT0N8vZOhF7gFRR5l3M8W9G8JxmKV+JC5mGqJ0QvqfSOLsCPa4nUw==",
2889
  "license": "MIT",
2890
  "dependencies": {
2891
  "acorn": "^8.11.0"
@@ -3231,12 +3236,12 @@
3231
  }
3232
  },
3233
  "node_modules/axobject-query": {
3234
- "version": "3.1.1",
3235
- "resolved": "https://registry.npmjs.org/axobject-query/-/axobject-query-3.1.1.tgz",
3236
- "integrity": "sha512-goKlv8DZrK9hUh975fnHzhNIO4jUnFCfv/dszV5VwUGDFjI6vQ2VwoyjYjYNEbBE8AH87TduWP5uyDR1D+Iteg==",
3237
  "license": "Apache-2.0",
3238
- "dependencies": {
3239
- "deep-equal": "^2.0.5"
3240
  }
3241
  },
3242
  "node_modules/balanced-match": {
@@ -3420,9 +3425,9 @@
3420
  }
3421
  },
3422
  "node_modules/caniuse-lite": {
3423
- "version": "1.0.30001655",
3424
- "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001655.tgz",
3425
- "integrity": "sha512-jRGVy3iSGO5Uutn2owlb5gR6qsGngTw9ZTb4ali9f3glshcNmJ2noam4Mo9zia5P9Dk3jNNydy7vQjuE5dQmfg==",
3426
  "funding": [
3427
  {
3428
  "type": "opencollective",
@@ -3894,9 +3899,9 @@
3894
  }
3895
  },
3896
  "node_modules/cookies-next/node_modules/@types/node": {
3897
- "version": "16.18.106",
3898
- "resolved": "https://registry.npmjs.org/@types/node/-/node-16.18.106.tgz",
3899
- "integrity": "sha512-YTgQUcpdXRc7iiEMutkkXl9WUx5lGUCVYvnfRg9CV+IA4l9epctEhCTbaw4KgzXaKYv8emvFJkEM65+MkNUhsQ==",
3900
  "license": "MIT"
3901
  },
3902
  "node_modules/create-require": {
@@ -4029,12 +4034,12 @@
4029
  }
4030
  },
4031
  "node_modules/debug": {
4032
- "version": "4.3.6",
4033
- "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.6.tgz",
4034
- "integrity": "sha512-O/09Bd4Z1fBrU4VzkhFqVgpPzaGbw6Sm9FEkBT1A/YBXQFGuuSxa1dN2nxgxS34JmKXqYx8CZAwEVoJFImUXIg==",
4035
  "license": "MIT",
4036
  "dependencies": {
4037
- "ms": "2.1.2"
4038
  },
4039
  "engines": {
4040
  "node": ">=6.0"
@@ -4276,9 +4281,9 @@
4276
  "license": "MIT"
4277
  },
4278
  "node_modules/electron-to-chromium": {
4279
- "version": "1.5.13",
4280
- "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.13.tgz",
4281
- "integrity": "sha512-lbBcvtIJ4J6sS4tb5TLp1b4LyfCdMkwStzXPyAgVgTRAsep4bvrAGaBOP7ZJtQMNJpSQ9SqG4brWOroNaQtm7Q==",
4282
  "license": "ISC"
4283
  },
4284
  "node_modules/emoji-regex": {
@@ -4656,9 +4661,9 @@
4656
  }
4657
  },
4658
  "node_modules/eslint-module-utils": {
4659
- "version": "2.8.2",
4660
- "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.8.2.tgz",
4661
- "integrity": "sha512-3XnC5fDyc8M4J2E8pt8pmSVRX2M+5yWMCfI/kDZwauQeFgzQOuhcRBFKjTeJagqgk4sFKxe1mvNVnaWwImx/Tg==",
4662
  "license": "MIT",
4663
  "dependencies": {
4664
  "debug": "^3.2.7"
@@ -4682,26 +4687,27 @@
4682
  }
4683
  },
4684
  "node_modules/eslint-plugin-import": {
4685
- "version": "2.29.1",
4686
- "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.29.1.tgz",
4687
- "integrity": "sha512-BbPC0cuExzhiMo4Ff1BTVwHpjjv28C5R+btTOGaCRC7UEz801up0JadwkeSk5Ued6TG34uaczuVuH6qyy5YUxw==",
4688
  "license": "MIT",
4689
  "dependencies": {
4690
- "array-includes": "^3.1.7",
4691
- "array.prototype.findlastindex": "^1.2.3",
 
4692
  "array.prototype.flat": "^1.3.2",
4693
  "array.prototype.flatmap": "^1.3.2",
4694
  "debug": "^3.2.7",
4695
  "doctrine": "^2.1.0",
4696
  "eslint-import-resolver-node": "^0.3.9",
4697
- "eslint-module-utils": "^2.8.0",
4698
- "hasown": "^2.0.0",
4699
- "is-core-module": "^2.13.1",
4700
  "is-glob": "^4.0.3",
4701
  "minimatch": "^3.1.2",
4702
- "object.fromentries": "^2.0.7",
4703
- "object.groupby": "^1.0.1",
4704
- "object.values": "^1.1.7",
4705
  "semver": "^6.3.1",
4706
  "tsconfig-paths": "^3.15.0"
4707
  },
@@ -4743,17 +4749,17 @@
4743
  }
4744
  },
4745
  "node_modules/eslint-plugin-jsx-a11y": {
4746
- "version": "6.9.0",
4747
- "resolved": "https://registry.npmjs.org/eslint-plugin-jsx-a11y/-/eslint-plugin-jsx-a11y-6.9.0.tgz",
4748
- "integrity": "sha512-nOFOCaJG2pYqORjK19lqPqxMO/JpvdCZdPtNdxY3kvom3jTvkAbOvQvD8wuD0G8BYR0IGAGYDlzqWJOh/ybn2g==",
4749
  "license": "MIT",
4750
  "dependencies": {
4751
  "aria-query": "~5.1.3",
4752
  "array-includes": "^3.1.8",
4753
  "array.prototype.flatmap": "^1.3.2",
4754
  "ast-types-flow": "^0.0.8",
4755
- "axe-core": "^4.9.1",
4756
- "axobject-query": "~3.1.1",
4757
  "damerau-levenshtein": "^1.0.8",
4758
  "emoji-regex": "^9.2.2",
4759
  "es-iterator-helpers": "^1.0.19",
@@ -4769,13 +4775,13 @@
4769
  "node": ">=4.0"
4770
  },
4771
  "peerDependencies": {
4772
- "eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8"
4773
  }
4774
  },
4775
  "node_modules/eslint-plugin-react": {
4776
- "version": "7.35.0",
4777
- "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.35.0.tgz",
4778
- "integrity": "sha512-v501SSMOWv8gerHkk+IIQBkcGRGrO2nfybfj5pLxuJNFTPxxA3PSryhXTK+9pNbtkggheDdsC0E9Q8CuPk6JKA==",
4779
  "license": "MIT",
4780
  "dependencies": {
4781
  "array-includes": "^3.1.8",
@@ -5435,9 +5441,9 @@
5435
  }
5436
  },
5437
  "node_modules/groq-sdk/node_modules/@types/node": {
5438
- "version": "18.19.48",
5439
- "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.48.tgz",
5440
- "integrity": "sha512-7WevbG4ekUcRQSZzOwxWgi5dZmTak7FaxXDoW7xVxPBmKx1rTzfmRLkeCgJzcbBnOV2dkhAPc8cCeT6agocpjg==",
5441
  "license": "MIT",
5442
  "dependencies": {
5443
  "undici-types": "~5.26.4"
@@ -5521,12 +5527,6 @@
5521
  "url": "https://github.com/sponsors/ljharb"
5522
  }
5523
  },
5524
- "node_modules/hash-wasm": {
5525
- "version": "4.11.0",
5526
- "resolved": "https://registry.npmjs.org/hash-wasm/-/hash-wasm-4.11.0.tgz",
5527
- "integrity": "sha512-HVusNXlVqHe0fzIzdQOGolnFN6mX/fqcrSAOcTBXdvzrXVHwTz11vXeKRmkR5gTuwVpvHZEIyKoePDvuAR+XwQ==",
5528
- "license": "MIT"
5529
- },
5530
  "node_modules/hasown": {
5531
  "version": "2.0.2",
5532
  "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz",
@@ -5801,9 +5801,9 @@
5801
  "license": "MIT"
5802
  },
5803
  "node_modules/is-bun-module": {
5804
- "version": "1.1.0",
5805
- "resolved": "https://registry.npmjs.org/is-bun-module/-/is-bun-module-1.1.0.tgz",
5806
- "integrity": "sha512-4mTAVPlrXpaN3jtF0lsnPCMGnq4+qZjVIKq0HCpfcqf8OC1SM5oATCIAPM5V5FN05qp2NNnFndphmdZS9CV3hA==",
5807
  "license": "MIT",
5808
  "dependencies": {
5809
  "semver": "^7.6.3"
@@ -6464,9 +6464,9 @@
6464
  }
6465
  },
6466
  "node_modules/ms": {
6467
- "version": "2.1.2",
6468
- "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
6469
- "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
6470
  "license": "MIT"
6471
  },
6472
  "node_modules/mz": {
@@ -9132,14 +9132,14 @@
9132
  }
9133
  },
9134
  "node_modules/openai": {
9135
- "version": "4.57.0",
9136
- "resolved": "https://registry.npmjs.org/openai/-/openai-4.57.0.tgz",
9137
- "integrity": "sha512-JnwBSIYqiZ3jYjB5f2in8hQ0PRA092c6m+/6dYB0MzK0BEbn+0dioxZsPLBm5idJbg9xzLNOiGVm2OSuhZ+BdQ==",
9138
  "license": "Apache-2.0",
9139
  "dependencies": {
9140
  "@types/node": "^18.11.18",
9141
  "@types/node-fetch": "^2.6.4",
9142
- "@types/qs": "^6.9.7",
9143
  "abort-controller": "^3.0.0",
9144
  "agentkeepalive": "^4.2.1",
9145
  "form-data-encoder": "1.7.2",
@@ -9160,9 +9160,9 @@
9160
  }
9161
  },
9162
  "node_modules/openai/node_modules/@types/node": {
9163
- "version": "18.19.48",
9164
- "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.48.tgz",
9165
- "integrity": "sha512-7WevbG4ekUcRQSZzOwxWgi5dZmTak7FaxXDoW7xVxPBmKx1rTzfmRLkeCgJzcbBnOV2dkhAPc8cCeT6agocpjg==",
9166
  "license": "MIT",
9167
  "dependencies": {
9168
  "undici-types": "~5.26.4"
@@ -9306,9 +9306,9 @@
9306
  }
9307
  },
9308
  "node_modules/picocolors": {
9309
- "version": "1.0.1",
9310
- "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.1.tgz",
9311
- "integrity": "sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew==",
9312
  "license": "ISC"
9313
  },
9314
  "node_modules/picomatch": {
@@ -10274,9 +10274,9 @@
10274
  }
10275
  },
10276
  "node_modules/source-map-js": {
10277
- "version": "1.2.0",
10278
- "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.0.tgz",
10279
- "integrity": "sha512-itJW8lvSA0TXEphiRoawsCksnlf8SyvmFzIhltqAHluXd88pkCd+cXJVHTDwdCr0IzwptSm035IHQktUu1QUMg==",
10280
  "license": "BSD-3-Clause",
10281
  "engines": {
10282
  "node": ">=0.10.0"
@@ -11427,9 +11427,9 @@
11427
  "license": "ISC"
11428
  },
11429
  "node_modules/yaml": {
11430
- "version": "2.5.0",
11431
- "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.5.0.tgz",
11432
- "integrity": "sha512-2wWLbGbYDiSqqIKoPjar3MPgB94ErzCtrNE1FdqGuaO0pi2JGjmE8aW8TDZwzU7vuxcGRdL/4gPQwQ7hD5AMSw==",
11433
  "license": "ISC",
11434
  "bin": {
11435
  "yaml": "bin.mjs"
 
12
  "@anthropic-ai/sdk": "^0.25.0",
13
  "@huggingface/hub": "^0.15.1",
14
  "@huggingface/inference": "^2.0.0",
15
+ "@mediapipe/tasks-vision": "0.10.15",
16
  "@radix-ui/react-accordion": "^1.1.2",
17
  "@radix-ui/react-avatar": "^1.0.3",
18
  "@radix-ui/react-checkbox": "^1.0.4",
 
125
  }
126
  },
127
  "node_modules/@anthropic-ai/sdk/node_modules/@types/node": {
128
+ "version": "18.19.50",
129
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.50.tgz",
130
+ "integrity": "sha512-xonK+NRrMBRtkL1hVCc3G+uXtjh1Al4opBLjqVmipe5ZAaBYWW6cNAiBVZ1BvmkBhep698rP3UM3aRAdSALuhg==",
131
  "license": "MIT",
132
  "dependencies": {
133
  "undici-types": "~5.26.4"
 
272
  "license": "MIT"
273
  },
274
  "node_modules/@huggingface/hub": {
275
+ "version": "0.15.2",
276
+ "resolved": "https://registry.npmjs.org/@huggingface/hub/-/hub-0.15.2.tgz",
277
+ "integrity": "sha512-MKu7RTkEBp8tvn0ZhBIjQwC1CHA+q8rzTYXAVklOTJEo/SZwCewVL+IcEuj4CoA5DnJ1IhyjkBquxN2dFVnEHg==",
278
  "license": "MIT",
279
  "dependencies": {
280
+ "@huggingface/tasks": "^0.12.1"
 
281
  },
282
  "engines": {
283
  "node": ">=18"
 
296
  }
297
  },
298
  "node_modules/@huggingface/inference/node_modules/@huggingface/tasks": {
299
+ "version": "0.11.13",
300
+ "resolved": "https://registry.npmjs.org/@huggingface/tasks/-/tasks-0.11.13.tgz",
301
+ "integrity": "sha512-TqFEyFtKYAYwDg9h4XQMzoSxN2NMpwSnerPBx7Y4RbM1nHLM+CTXAUHcDY+hydcA5CoDDaBGzkHw+mttY3AmFQ==",
302
  "license": "MIT"
303
  },
304
  "node_modules/@huggingface/tasks": {
305
+ "version": "0.12.4",
306
+ "resolved": "https://registry.npmjs.org/@huggingface/tasks/-/tasks-0.12.4.tgz",
307
+ "integrity": "sha512-HN8egM3ROLNKefMhAGUkxWGPqL+xxsVJ2HsKq3EdOatE/ssGcjCgaBTAs9jfshlAgpSSBVhpzwUp75J3z09lgQ==",
308
  "license": "MIT"
309
  },
310
  "node_modules/@humanwhocodes/config-array": {
 
2609
  "integrity": "sha512-A9+lCBZoaMJlVKcRBz2YByCG+Cp2t6nAnMnNba+XiWxnj6r4JUFqfsgwocMBZU9LPtdxC6wB56ySYpc7LQIoJg==",
2610
  "license": "MIT"
2611
  },
2612
+ "node_modules/@rtsao/scc": {
2613
+ "version": "1.1.0",
2614
+ "resolved": "https://registry.npmjs.org/@rtsao/scc/-/scc-1.1.0.tgz",
2615
+ "integrity": "sha512-zt6OdqaDoOnJ1ZYsCYGt9YmWzDXl4vQdKTyJev62gFhRGKdx7mcT54V9KIjg+d2wi9EXsPvAPKe7i7WjfVWB8g==",
2616
+ "license": "MIT"
2617
+ },
2618
  "node_modules/@rushstack/eslint-patch": {
2619
  "version": "1.10.4",
2620
  "resolved": "https://registry.npmjs.org/@rushstack/eslint-patch/-/eslint-patch-1.10.4.tgz",
 
2888
  }
2889
  },
2890
  "node_modules/acorn-walk": {
2891
+ "version": "8.3.4",
2892
+ "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.3.4.tgz",
2893
+ "integrity": "sha512-ueEepnujpqee2o5aIYnvHU6C0A42MNdsIDeqy5BydrkuC5R1ZuUFnm27EeFJGoEHJQgn3uleRvmTXaJgfXbt4g==",
2894
  "license": "MIT",
2895
  "dependencies": {
2896
  "acorn": "^8.11.0"
 
3236
  }
3237
  },
3238
  "node_modules/axobject-query": {
3239
+ "version": "4.1.0",
3240
+ "resolved": "https://registry.npmjs.org/axobject-query/-/axobject-query-4.1.0.tgz",
3241
+ "integrity": "sha512-qIj0G9wZbMGNLjLmg1PT6v2mE9AH2zlnADJD/2tC6E00hgmhUOfEB6greHPAfLRSufHqROIUTkw6E+M3lH0PTQ==",
3242
  "license": "Apache-2.0",
3243
+ "engines": {
3244
+ "node": ">= 0.4"
3245
  }
3246
  },
3247
  "node_modules/balanced-match": {
 
3425
  }
3426
  },
3427
  "node_modules/caniuse-lite": {
3428
+ "version": "1.0.30001659",
3429
+ "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001659.tgz",
3430
+ "integrity": "sha512-Qxxyfv3RdHAfJcXelgf0hU4DFUVXBGTjqrBUZLUh8AtlGnsDo+CnncYtTd95+ZKfnANUOzxyIQCuU/UeBZBYoA==",
3431
  "funding": [
3432
  {
3433
  "type": "opencollective",
 
3899
  }
3900
  },
3901
  "node_modules/cookies-next/node_modules/@types/node": {
3902
+ "version": "16.18.108",
3903
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-16.18.108.tgz",
3904
+ "integrity": "sha512-fj42LD82fSv6yN9C6Q4dzS+hujHj+pTv0IpRR3kI20fnYeS0ytBpjFO9OjmDowSPPt4lNKN46JLaKbCyP+BW2A==",
3905
  "license": "MIT"
3906
  },
3907
  "node_modules/create-require": {
 
4034
  }
4035
  },
4036
  "node_modules/debug": {
4037
+ "version": "4.3.7",
4038
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.7.tgz",
4039
+ "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==",
4040
  "license": "MIT",
4041
  "dependencies": {
4042
+ "ms": "^2.1.3"
4043
  },
4044
  "engines": {
4045
  "node": ">=6.0"
 
4281
  "license": "MIT"
4282
  },
4283
  "node_modules/electron-to-chromium": {
4284
+ "version": "1.5.18",
4285
+ "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.18.tgz",
4286
+ "integrity": "sha512-1OfuVACu+zKlmjsNdcJuVQuVE61sZOLbNM4JAQ1Rvh6EOj0/EUKhMJjRH73InPlXSh8HIJk1cVZ8pyOV/FMdUQ==",
4287
  "license": "ISC"
4288
  },
4289
  "node_modules/emoji-regex": {
 
4661
  }
4662
  },
4663
  "node_modules/eslint-module-utils": {
4664
+ "version": "2.11.0",
4665
+ "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.11.0.tgz",
4666
+ "integrity": "sha512-gbBE5Hitek/oG6MUVj6sFuzEjA/ClzNflVrLovHi/JgLdC7fiN5gLAY1WIPW1a0V5I999MnsrvVrCOGmmVqDBQ==",
4667
  "license": "MIT",
4668
  "dependencies": {
4669
  "debug": "^3.2.7"
 
4687
  }
4688
  },
4689
  "node_modules/eslint-plugin-import": {
4690
+ "version": "2.30.0",
4691
+ "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.30.0.tgz",
4692
+ "integrity": "sha512-/mHNE9jINJfiD2EKkg1BKyPyUk4zdnT54YgbOgfjSakWT5oyX/qQLVNTkehyfpcMxZXMy1zyonZ2v7hZTX43Yw==",
4693
  "license": "MIT",
4694
  "dependencies": {
4695
+ "@rtsao/scc": "^1.1.0",
4696
+ "array-includes": "^3.1.8",
4697
+ "array.prototype.findlastindex": "^1.2.5",
4698
  "array.prototype.flat": "^1.3.2",
4699
  "array.prototype.flatmap": "^1.3.2",
4700
  "debug": "^3.2.7",
4701
  "doctrine": "^2.1.0",
4702
  "eslint-import-resolver-node": "^0.3.9",
4703
+ "eslint-module-utils": "^2.9.0",
4704
+ "hasown": "^2.0.2",
4705
+ "is-core-module": "^2.15.1",
4706
  "is-glob": "^4.0.3",
4707
  "minimatch": "^3.1.2",
4708
+ "object.fromentries": "^2.0.8",
4709
+ "object.groupby": "^1.0.3",
4710
+ "object.values": "^1.2.0",
4711
  "semver": "^6.3.1",
4712
  "tsconfig-paths": "^3.15.0"
4713
  },
 
4749
  }
4750
  },
4751
  "node_modules/eslint-plugin-jsx-a11y": {
4752
+ "version": "6.10.0",
4753
+ "resolved": "https://registry.npmjs.org/eslint-plugin-jsx-a11y/-/eslint-plugin-jsx-a11y-6.10.0.tgz",
4754
+ "integrity": "sha512-ySOHvXX8eSN6zz8Bywacm7CvGNhUtdjvqfQDVe6020TUK34Cywkw7m0KsCCk1Qtm9G1FayfTN1/7mMYnYO2Bhg==",
4755
  "license": "MIT",
4756
  "dependencies": {
4757
  "aria-query": "~5.1.3",
4758
  "array-includes": "^3.1.8",
4759
  "array.prototype.flatmap": "^1.3.2",
4760
  "ast-types-flow": "^0.0.8",
4761
+ "axe-core": "^4.10.0",
4762
+ "axobject-query": "^4.1.0",
4763
  "damerau-levenshtein": "^1.0.8",
4764
  "emoji-regex": "^9.2.2",
4765
  "es-iterator-helpers": "^1.0.19",
 
4775
  "node": ">=4.0"
4776
  },
4777
  "peerDependencies": {
4778
+ "eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9"
4779
  }
4780
  },
4781
  "node_modules/eslint-plugin-react": {
4782
+ "version": "7.35.2",
4783
+ "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.35.2.tgz",
4784
+ "integrity": "sha512-Rbj2R9zwP2GYNcIak4xoAMV57hrBh3hTaR0k7hVjwCQgryE/pw5px4b13EYjduOI0hfXyZhwBxaGpOTbWSGzKQ==",
4785
  "license": "MIT",
4786
  "dependencies": {
4787
  "array-includes": "^3.1.8",
 
5441
  }
5442
  },
5443
  "node_modules/groq-sdk/node_modules/@types/node": {
5444
+ "version": "18.19.50",
5445
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.50.tgz",
5446
+ "integrity": "sha512-xonK+NRrMBRtkL1hVCc3G+uXtjh1Al4opBLjqVmipe5ZAaBYWW6cNAiBVZ1BvmkBhep698rP3UM3aRAdSALuhg==",
5447
  "license": "MIT",
5448
  "dependencies": {
5449
  "undici-types": "~5.26.4"
 
5527
  "url": "https://github.com/sponsors/ljharb"
5528
  }
5529
  },
 
 
 
 
 
 
5530
  "node_modules/hasown": {
5531
  "version": "2.0.2",
5532
  "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz",
 
5801
  "license": "MIT"
5802
  },
5803
  "node_modules/is-bun-module": {
5804
+ "version": "1.2.1",
5805
+ "resolved": "https://registry.npmjs.org/is-bun-module/-/is-bun-module-1.2.1.tgz",
5806
+ "integrity": "sha512-AmidtEM6D6NmUiLOvvU7+IePxjEjOzra2h0pSrsfSAcXwl/83zLLXDByafUJy9k/rKK0pvXMLdwKwGHlX2Ke6Q==",
5807
  "license": "MIT",
5808
  "dependencies": {
5809
  "semver": "^7.6.3"
 
6464
  }
6465
  },
6466
  "node_modules/ms": {
6467
+ "version": "2.1.3",
6468
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
6469
+ "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
6470
  "license": "MIT"
6471
  },
6472
  "node_modules/mz": {
 
9132
  }
9133
  },
9134
  "node_modules/openai": {
9135
+ "version": "4.58.1",
9136
+ "resolved": "https://registry.npmjs.org/openai/-/openai-4.58.1.tgz",
9137
+ "integrity": "sha512-n9fN4RIjbj4PbZU6IN/FOBBbxHbHEcW18rDZ4nW2cDNfZP2+upm/FM20UCmRNMQTvhOvw/2Tw4vgioQyQb5nlA==",
9138
  "license": "Apache-2.0",
9139
  "dependencies": {
9140
  "@types/node": "^18.11.18",
9141
  "@types/node-fetch": "^2.6.4",
9142
+ "@types/qs": "^6.9.15",
9143
  "abort-controller": "^3.0.0",
9144
  "agentkeepalive": "^4.2.1",
9145
  "form-data-encoder": "1.7.2",
 
9160
  }
9161
  },
9162
  "node_modules/openai/node_modules/@types/node": {
9163
+ "version": "18.19.50",
9164
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.50.tgz",
9165
+ "integrity": "sha512-xonK+NRrMBRtkL1hVCc3G+uXtjh1Al4opBLjqVmipe5ZAaBYWW6cNAiBVZ1BvmkBhep698rP3UM3aRAdSALuhg==",
9166
  "license": "MIT",
9167
  "dependencies": {
9168
  "undici-types": "~5.26.4"
 
9306
  }
9307
  },
9308
  "node_modules/picocolors": {
9309
+ "version": "1.1.0",
9310
+ "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.0.tgz",
9311
+ "integrity": "sha512-TQ92mBOW0l3LeMeyLV6mzy/kWr8lkd/hp3mTg7wYK7zJhuBStmGMBG0BdeDZS/dZx1IukaX6Bk11zcln25o1Aw==",
9312
  "license": "ISC"
9313
  },
9314
  "node_modules/picomatch": {
 
10274
  }
10275
  },
10276
  "node_modules/source-map-js": {
10277
+ "version": "1.2.1",
10278
+ "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz",
10279
+ "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==",
10280
  "license": "BSD-3-Clause",
10281
  "engines": {
10282
  "node": ">=0.10.0"
 
11427
  "license": "ISC"
11428
  },
11429
  "node_modules/yaml": {
11430
+ "version": "2.5.1",
11431
+ "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.5.1.tgz",
11432
+ "integrity": "sha512-bLQOjaX/ADgQ20isPJRvF0iRUHIxVhYvr53Of7wGcWlO2jvtUlH5m87DsmulFVxRpNLOnI4tB6p/oh8D7kpn9Q==",
11433
  "license": "ISC",
11434
  "bin": {
11435
  "yaml": "bin.mjs"
package.json CHANGED
@@ -13,7 +13,7 @@
13
  "@anthropic-ai/sdk": "^0.25.0",
14
  "@huggingface/hub": "^0.15.1",
15
  "@huggingface/inference": "^2.0.0",
16
- "@mediapipe/tasks-vision": "^0.10.14",
17
  "@radix-ui/react-accordion": "^1.1.2",
18
  "@radix-ui/react-avatar": "^1.0.3",
19
  "@radix-ui/react-checkbox": "^1.0.4",
 
13
  "@anthropic-ai/sdk": "^0.25.0",
14
  "@huggingface/hub": "^0.15.1",
15
  "@huggingface/inference": "^2.0.0",
16
+ "@mediapipe/tasks-vision": "0.10.15",
17
  "@radix-ui/react-accordion": "^1.1.2",
18
  "@radix-ui/react-avatar": "^1.0.3",
19
  "@radix-ui/react-checkbox": "^1.0.4",
src/app/engine/render.ts CHANGED
@@ -245,9 +245,6 @@ export async function newRender({
245
  if (renderingEngine === "INFERENCE_API" && !huggingfaceInferenceApiModel) {
246
  throw new Error(`invalid huggingfaceInferenceApiModel, you need to configure your RENDERING_HF_INFERENCE_API_BASE_MODEL in order to use the INFERENCE_API rendering engine`)
247
  }
248
- if (renderingEngine === "INFERENCE_API" && !huggingfaceInferenceApiModelRefinerModel) {
249
- throw new Error(`invalid huggingfaceInferenceApiModelRefinerModel, you need to configure your RENDERING_HF_INFERENCE_API_REFINER_MODEL in order to use the INFERENCE_API rendering engine`)
250
- }
251
 
252
  const baseModelUrl = renderingEngine === "INFERENCE_ENDPOINT"
253
  ? huggingfaceApiUrl
@@ -304,7 +301,7 @@ export async function newRender({
304
  // note: there is no "refiner" step yet for custom inference endpoint
305
  // you probably don't need it anyway, as you probably want to deploy an all-in-one model instead for perf reasons
306
 
307
- if (renderingEngine === "INFERENCE_API") {
308
  try {
309
  const refinerModelUrl = `https://api-inference.huggingface.co/models/${huggingfaceInferenceApiModelRefinerModel}`
310
 
 
245
  if (renderingEngine === "INFERENCE_API" && !huggingfaceInferenceApiModel) {
246
  throw new Error(`invalid huggingfaceInferenceApiModel, you need to configure your RENDERING_HF_INFERENCE_API_BASE_MODEL in order to use the INFERENCE_API rendering engine`)
247
  }
 
 
 
248
 
249
  const baseModelUrl = renderingEngine === "INFERENCE_ENDPOINT"
250
  ? huggingfaceApiUrl
 
301
  // note: there is no "refiner" step yet for custom inference endpoint
302
  // you probably don't need it anyway, as you probably want to deploy an all-in-one model instead for perf reasons
303
 
304
+ if (renderingEngine === "INFERENCE_API" && huggingfaceInferenceApiModelRefinerModel) {
305
  try {
306
  const refinerModelUrl = `https://api-inference.huggingface.co/models/${huggingfaceInferenceApiModelRefinerModel}`
307