You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In line 10 of the Quickstart Guide: sf.write(f"{prompt}.wav", audio, samplerate=16000)
The variable audio is used but never declared or defined. To fix this, it should be replaced with the variable music, which is the return value of model.generate(prompt).
So, the corrected line should be: sf.write(f"{prompt}.wav", music, samplerate=16000)
The text was updated successfully, but these errors were encountered:
In line 10 of the Quickstart Guide:
sf.write(f"{prompt}.wav", audio, samplerate=16000)
The variable
audio
is used but never declared or defined. To fix this, it should be replaced with the variablemusic
, which is the return value ofmodel.generate(prompt)
.So, the corrected line should be:
sf.write(f"{prompt}.wav", music, samplerate=16000)
The text was updated successfully, but these errors were encountered: