Spaces:
Running
Running
Update index.js
Browse files
index.js
CHANGED
@@ -253,7 +253,7 @@ async function enhanceImage(url) {
|
|
253 |
|
254 |
await page.getByRole('button', { name: 'Unggah gambar', exact: true }).click()
|
255 |
const response = await page.waitForResponse(res => {
|
256 |
-
console.log(res)
|
257 |
return res.url().includes('api/enhance/v1')
|
258 |
}, { timeout: 0 })
|
259 |
const json = await response.json()
|
|
|
253 |
|
254 |
await page.getByRole('button', { name: 'Unggah gambar', exact: true }).click()
|
255 |
const response = await page.waitForResponse(res => {
|
256 |
+
console.log(res.url())
|
257 |
return res.url().includes('api/enhance/v1')
|
258 |
}, { timeout: 0 })
|
259 |
const json = await response.json()
|