Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit 78c5ab6

Browse files
committed
add missing undefined variable to initial batch code.
1 parent 0e109d9 commit 78c5ab6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/guides/python/ai-podcast-part-1.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ async def do_generate_audio(ctx: JobContext):
118118
file = ctx.req.data["file"]
119119
# The text to convert to audio
120120
text: str = ctx.req.data["text"]
121+
voice_preset: str = ctx.req.data["preset"]
121122

122123
print("Loading model")
123124
model = BarkModel.from_pretrained("suno/bark")

0 commit comments

Comments
 (0)