Skip to content

Commit 0af7765

Browse files
committed
fix: remove redundant content generation task creation
1 parent 7231745 commit 0af7765

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

  • apps/models_provider/impl/volcanic_engine_model_provider/model

apps/models_provider/impl/volcanic_engine_model_provider/model/ttv.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,10 +94,6 @@ def generate_video(self, prompt, negative_prompt=None, first_frame_url=None, las
9494
},
9595
"role": "last_frame"
9696
})
97-
create_result = client.content_generation.tasks.create(
98-
model=self.model_name,
99-
content=content
100-
)
10197

10298
task = client.content_generation.tasks.create(model=self.model_name, content=content)
10399
task_id = task.id

0 commit comments

Comments
 (0)