Skip to content

Commit

Permalink
fix bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
genekogan committed Jan 15, 2024
1 parent 9bc3b46 commit 234c0c3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/plugins/replicate.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def txt2vid(
interpolation_texts = "|".join(interpolation_texts)

config = {
"mode": "comfy_txt2vid",
"mode": "txt2vid",
"interpolation_texts": interpolation_texts,
"width": width/2,
"height": height/2,
Expand Down
4 changes: 2 additions & 2 deletions app/routers/story.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ def cinema(request: CinemaRequest):
)
audio_url = s3.upload(audio_bytes, "mp3")
video_url = replicate.txt2vid(
interpolation_texts=[clip['image_description']],
interpolation_texts=[clip['image_description']],
width=width,
height=height,
)
Expand All @@ -219,7 +219,7 @@ def cinema(request: CinemaRequest):

else:
output = replicate.txt2vid(
text_input=clip['image_description'],
interpolation_texts=[clip['image_description']],
width=width,
height=height,
)
Expand Down

0 comments on commit 234c0c3

Please sign in to comment.