Khrisna commited on
Commit
93b4873
·
1 Parent(s): 84574b6

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +1 -1
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 => {