Spaces:
Paused
Paused
Update lib/enchance.js
Browse files- lib/enchance.js +1 -1
lib/enchance.js
CHANGED
|
@@ -27,7 +27,7 @@ async function processImageUpscaler({ buffer, method, filenames, mimetype }) {
|
|
| 27 |
|
| 28 |
instance.post(`https://inferenceengine.vyro.ai/${method}`, formData, { headers })
|
| 29 |
.then(response => {
|
| 30 |
-
resolve(Buffer.from(response.data)
|
| 31 |
})
|
| 32 |
.catch(error => {
|
| 33 |
reject(error);
|
|
|
|
| 27 |
|
| 28 |
instance.post(`https://inferenceengine.vyro.ai/${method}`, formData, { headers })
|
| 29 |
.then(response => {
|
| 30 |
+
resolve(Buffer.from(response.data));
|
| 31 |
})
|
| 32 |
.catch(error => {
|
| 33 |
reject(error);
|