Spaces:
Paused
Paused
Update index.js
Browse files
index.js
CHANGED
|
@@ -196,7 +196,7 @@ async function acytoo(text, model) {
|
|
| 196 |
return res.data
|
| 197 |
}
|
| 198 |
function waifu2x(urls, formats) {
|
| 199 |
-
return new Promise(async (resolve)) => {
|
| 200 |
// data
|
| 201 |
await axios.get(urls, { responseType: "arraybuffer"})
|
| 202 |
.then(img => {
|
|
|
|
| 196 |
return res.data
|
| 197 |
}
|
| 198 |
function waifu2x(urls, formats) {
|
| 199 |
+
return new Promise(async, (resolve)) => {
|
| 200 |
// data
|
| 201 |
await axios.get(urls, { responseType: "arraybuffer"})
|
| 202 |
.then(img => {
|