Spaces:
Paused
Paused
Julian Bilcke
commited on
Commit
·
ce62d44
1
Parent(s):
71a97a8
woops
Browse files
src/providers/video-generation/generateVideoWithAnimateLCM.mts
CHANGED
|
@@ -135,11 +135,11 @@ export const generateVideoWithAnimateLCM = async ({
|
|
| 135 |
// next: { revalidate: 1 }
|
| 136 |
})
|
| 137 |
|
| 138 |
-
console.log("res:", res)
|
| 139 |
|
| 140 |
const { data } = await res.json()
|
| 141 |
|
| 142 |
-
console.log("data:", data)
|
| 143 |
// Recommendation: handle errors
|
| 144 |
if (res.status !== 200 || !Array.isArray(data)) {
|
| 145 |
// This will activate the closest `error.js` Error Boundary
|
|
|
|
| 135 |
// next: { revalidate: 1 }
|
| 136 |
})
|
| 137 |
|
| 138 |
+
// console.log("res:", res)
|
| 139 |
|
| 140 |
const { data } = await res.json()
|
| 141 |
|
| 142 |
+
// console.log("data:", data)
|
| 143 |
// Recommendation: handle errors
|
| 144 |
if (res.status !== 200 || !Array.isArray(data)) {
|
| 145 |
// This will activate the closest `error.js` Error Boundary
|