Skip to content

Commit 8c82e7a

Browse files
committed
textToAduio
1 parent bd36835 commit 8c82e7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/inference/src/snippets/templates/python/requests/textToAudio.jinja

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ def query(payload):
44
return response.content
55

66
audio_bytes = query({
7-
"inputs": {{ inputs }},
7+
"inputs": {{ inputs.asObj.inputs }},
88
})
99
# You can access the audio with IPython.display for example
1010
from IPython.display import Audio

0 commit comments

Comments
 (0)