Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Commit
·
b9f99cc
1
Parent(s):
bdccaf0
fix TS issue
Browse files
src/scheduler/processVideo.mts
CHANGED
@@ -74,7 +74,8 @@ export const processVideo = async (video: Video) => {
|
|
74 |
console.log("generating a preview of the final result..")
|
75 |
let generatedPreviewVideoUrl = ""
|
76 |
try {
|
77 |
-
generatedPreviewVideoUrl = await generateVideo(
|
|
|
78 |
seed: shot.seed,
|
79 |
nbFrames: nbFramesForBaseModel,
|
80 |
nbSteps: 10, // for the preview, we only give a rough approximation
|
@@ -123,7 +124,8 @@ export const processVideo = async (video: Video) => {
|
|
123 |
const nbFramesForBaseModel = 24
|
124 |
|
125 |
try {
|
126 |
-
generatedVideoUrl = await generateVideo(
|
|
|
127 |
seed: shot.seed,
|
128 |
nbFrames: nbFramesForBaseModel,
|
129 |
nbSteps: shot.steps,
|
|
|
74 |
console.log("generating a preview of the final result..")
|
75 |
let generatedPreviewVideoUrl = ""
|
76 |
try {
|
77 |
+
generatedPreviewVideoUrl = await generateVideo({
|
78 |
+
positivePrompt: shot.shotPrompt,
|
79 |
seed: shot.seed,
|
80 |
nbFrames: nbFramesForBaseModel,
|
81 |
nbSteps: 10, // for the preview, we only give a rough approximation
|
|
|
124 |
const nbFramesForBaseModel = 24
|
125 |
|
126 |
try {
|
127 |
+
generatedVideoUrl = await generateVideo({
|
128 |
+
positivePrompt: shot.shotPrompt,
|
129 |
seed: shot.seed,
|
130 |
nbFrames: nbFramesForBaseModel,
|
131 |
nbSteps: shot.steps,
|