Spaces:
Running
Running
Update index.js
Browse files
index.js
CHANGED
@@ -242,7 +242,7 @@ async function waifu2x(urls, formats) {
|
|
242 |
|
243 |
const images = await axios.request({
|
244 |
method: "GET",
|
245 |
-
url: "https://api.alcaamado.es/api/v2/waifu2x/get?hash=" + response + "&type=jpg",
|
246 |
headers: {
|
247 |
"Accept": "image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8",
|
248 |
"Content-Type": "image/jpg",
|
|
|
242 |
|
243 |
const images = await axios.request({
|
244 |
method: "GET",
|
245 |
+
url: "https://api.alcaamado.es/api/v2/waifu2x/get?hash=" + response.data.hash + "&type=jpg",
|
246 |
headers: {
|
247 |
"Accept": "image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8",
|
248 |
"Content-Type": "image/jpg",
|