Spaces:
Paused
Paused
Julian Bilcke
commited on
Commit
·
cd6d879
1
Parent(s):
096584a
fix fatal error
Browse files- package-lock.json +6 -0
- package.json +1 -0
- src/production/renderImage.mts +1 -1
package-lock.json
CHANGED
|
@@ -9,6 +9,7 @@
|
|
| 9 |
"version": "1.0.0",
|
| 10 |
"license": "Apache License",
|
| 11 |
"dependencies": {
|
|
|
|
| 12 |
"@gradio/client": "^0.1.4",
|
| 13 |
"@huggingface/inference": "^2.6.1",
|
| 14 |
"@types/express": "^4.17.17",
|
|
@@ -74,6 +75,11 @@
|
|
| 74 |
"node": ">=12"
|
| 75 |
}
|
| 76 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 77 |
"node_modules/@gradio/client": {
|
| 78 |
"version": "0.1.4",
|
| 79 |
"resolved": "https://registry.npmjs.org/@gradio/client/-/client-0.1.4.tgz",
|
|
|
|
| 9 |
"version": "1.0.0",
|
| 10 |
"license": "Apache License",
|
| 11 |
"dependencies": {
|
| 12 |
+
"@gorgonjs/gorgon": "^1.4.1",
|
| 13 |
"@gradio/client": "^0.1.4",
|
| 14 |
"@huggingface/inference": "^2.6.1",
|
| 15 |
"@types/express": "^4.17.17",
|
|
|
|
| 75 |
"node": ">=12"
|
| 76 |
}
|
| 77 |
},
|
| 78 |
+
"node_modules/@gorgonjs/gorgon": {
|
| 79 |
+
"version": "1.4.1",
|
| 80 |
+
"resolved": "https://registry.npmjs.org/@gorgonjs/gorgon/-/gorgon-1.4.1.tgz",
|
| 81 |
+
"integrity": "sha512-XUTvRODad+uD89CVoLQEi3aOaJC/x9+KqLBKil4a+hKlrDRc6TAoEofn/Kje/S4Q+ylwJRbhZnb98QgiSZxIqw=="
|
| 82 |
+
},
|
| 83 |
"node_modules/@gradio/client": {
|
| 84 |
"version": "0.1.4",
|
| 85 |
"resolved": "https://registry.npmjs.org/@gradio/client/-/client-0.1.4.tgz",
|
package.json
CHANGED
|
@@ -16,6 +16,7 @@
|
|
| 16 |
"author": "Julian Bilcke <[email protected]>",
|
| 17 |
"license": "Apache License",
|
| 18 |
"dependencies": {
|
|
|
|
| 19 |
"@gradio/client": "^0.1.4",
|
| 20 |
"@huggingface/inference": "^2.6.1",
|
| 21 |
"@types/express": "^4.17.17",
|
|
|
|
| 16 |
"author": "Julian Bilcke <[email protected]>",
|
| 17 |
"license": "Apache License",
|
| 18 |
"dependencies": {
|
| 19 |
+
"@gorgonjs/gorgon": "^1.4.1",
|
| 20 |
"@gradio/client": "^0.1.4",
|
| 21 |
"@huggingface/inference": "^2.6.1",
|
| 22 |
"@types/express": "^4.17.17",
|
src/production/renderImage.mts
CHANGED
|
@@ -21,7 +21,7 @@ export async function renderImage(
|
|
| 21 |
seed: request.seed,
|
| 22 |
nbSteps: request.nbSteps,
|
| 23 |
width: request.width,
|
| 24 |
-
|
| 25 |
}
|
| 26 |
|
| 27 |
console.log(`calling generateImageAsBase64 with: `, JSON.stringify(params, null, 2))
|
|
|
|
| 21 |
seed: request.seed,
|
| 22 |
nbSteps: request.nbSteps,
|
| 23 |
width: request.width,
|
| 24 |
+
height: request.height
|
| 25 |
}
|
| 26 |
|
| 27 |
console.log(`calling generateImageAsBase64 with: `, JSON.stringify(params, null, 2))
|