Spaces:
Running
Running
Commit
·
de08055
1
Parent(s):
bdaab1c
update dependencies
Browse files- package-lock.json +0 -0
- package.json +4 -4
- src/app/api/v1/edit/music/generateMusic.ts +1 -1
- src/app/api/v1/edit/sounds/generateSound.ts +1 -1
- src/app/api/v1/edit/videos/processShot.ts +1 -1
- src/components/interface/latent-engine/core/useLatentEngine.ts +1 -1
- src/lib/utils/getInitialRenderedScene.ts +1 -1
package-lock.json
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
{
|
2 |
"name": "@aitube/website",
|
3 |
-
"version": "0.
|
4 |
"private": true,
|
5 |
"scripts": {
|
6 |
"patch": "cp -f patch.js node_modules/fluent-ffmpeg/index.js",
|
@@ -10,9 +10,9 @@
|
|
10 |
"lint": "next lint"
|
11 |
},
|
12 |
"dependencies": {
|
13 |
-
"@aitube/clap": "0.
|
14 |
-
"@aitube/client": "0.
|
15 |
-
"@aitube/engine": "0.
|
16 |
"@huggingface/hub": "0.12.3-oauth",
|
17 |
"@huggingface/inference": "^2.7.0",
|
18 |
"@jcoreio/async-throttle": "^1.6.0",
|
|
|
1 |
{
|
2 |
"name": "@aitube/website",
|
3 |
+
"version": "0.1.2",
|
4 |
"private": true,
|
5 |
"scripts": {
|
6 |
"patch": "cp -f patch.js node_modules/fluent-ffmpeg/index.js",
|
|
|
10 |
"lint": "next lint"
|
11 |
},
|
12 |
"dependencies": {
|
13 |
+
"@aitube/clap": "0.1.2",
|
14 |
+
"@aitube/client": "0.1.2",
|
15 |
+
"@aitube/engine": "0.1.2",
|
16 |
"@huggingface/hub": "0.12.3-oauth",
|
17 |
"@huggingface/inference": "^2.7.0",
|
18 |
"@jcoreio/async-throttle": "^1.6.0",
|
src/app/api/v1/edit/music/generateMusic.ts
CHANGED
@@ -36,7 +36,7 @@ export async function generateMusic({
|
|
36 |
|
37 |
// for now we do something very basic
|
38 |
|
39 |
-
if (musicSegment.status ===
|
40 |
console.log(`generateMusic(): music segment is already generated, skipping doing it twice.`)
|
41 |
return
|
42 |
}
|
|
|
36 |
|
37 |
// for now we do something very basic
|
38 |
|
39 |
+
if (musicSegment.status === ClapSegmentStatus.COMPLETED) {
|
40 |
console.log(`generateMusic(): music segment is already generated, skipping doing it twice.`)
|
41 |
return
|
42 |
}
|
src/app/api/v1/edit/sounds/generateSound.ts
CHANGED
@@ -33,7 +33,7 @@ export async function generateSound({
|
|
33 |
|
34 |
// for now we do something very basic
|
35 |
|
36 |
-
if (soundSegment.status ===
|
37 |
console.log(`generateSound(): sound segment is already generated, skipping doing it twice.`)
|
38 |
return
|
39 |
}
|
|
|
33 |
|
34 |
// for now we do something very basic
|
35 |
|
36 |
+
if (soundSegment.status === ClapSegmentStatus.COMPLETED) {
|
37 |
console.log(`generateSound(): sound segment is already generated, skipping doing it twice.`)
|
38 |
return
|
39 |
}
|
src/app/api/v1/edit/videos/processShot.ts
CHANGED
@@ -190,7 +190,7 @@ export async function processShot({
|
|
190 |
//----------
|
191 |
if (
|
192 |
shotStoryboardSegment &&
|
193 |
-
(!shotStoryboardSegment.assetUrl || shotStoryboardSegment.status ===
|
194 |
) {
|
195 |
console.log(`[api/edit/videos] processShot: generating a missing storyboard asset`)
|
196 |
|
|
|
190 |
//----------
|
191 |
if (
|
192 |
shotStoryboardSegment &&
|
193 |
+
(!shotStoryboardSegment.assetUrl || shotStoryboardSegment.status === ClapSegmentStatus.TO_GENERATE)
|
194 |
) {
|
195 |
console.log(`[api/edit/videos] processShot: generating a missing storyboard asset`)
|
196 |
|
src/components/interface/latent-engine/core/useLatentEngine.ts
CHANGED
@@ -431,7 +431,7 @@ export const useLatentEngine = create<LatentEngineStore>((set, get) => ({
|
|
431 |
// could also be the camera
|
432 |
// after all, we don't necessarily have a shot,
|
433 |
// this could also be a gaussian splat
|
434 |
-
const shotData = shotSegmentsToPreload.find(s => s.category ===
|
435 |
|
436 |
console.log(`shotData:`, shotData)
|
437 |
|
|
|
431 |
// could also be the camera
|
432 |
// after all, we don't necessarily have a shot,
|
433 |
// this could also be a gaussian splat
|
434 |
+
const shotData = shotSegmentsToPreload.find(s => s.category === ClapSegmentCategory.VIDEO)
|
435 |
|
436 |
console.log(`shotData:`, shotData)
|
437 |
|
src/lib/utils/getInitialRenderedScene.ts
CHANGED
@@ -4,7 +4,7 @@ import { RenderedScene } from "@/types/general"
|
|
4 |
|
5 |
export const getInitialRenderedScene = (): RenderedScene => ({
|
6 |
renderId: "",
|
7 |
-
status:
|
8 |
assetUrl: "",
|
9 |
alt: "",
|
10 |
error: "",
|
|
|
4 |
|
5 |
export const getInitialRenderedScene = (): RenderedScene => ({
|
6 |
renderId: "",
|
7 |
+
status: "to_generate",
|
8 |
assetUrl: "",
|
9 |
alt: "",
|
10 |
error: "",
|