Spaces:
Runtime error
Runtime error
NotProwler
commited on
changing file format for write
Browse files
app.py
CHANGED
@@ -27,7 +27,7 @@ if st.button("Generate Song"):
|
|
27 |
|
28 |
audio_output = model.generate([description])
|
29 |
|
30 |
-
audio_write("generated_song", audio_output[0].cpu(), model.sample_rate)
|
31 |
|
32 |
st.audio("generated_song.wav", format="audio/wav")
|
33 |
|
|
|
27 |
|
28 |
audio_output = model.generate([description])
|
29 |
|
30 |
+
audio_write("generated_song.wav", audio_output[0].cpu(), model.sample_rate)
|
31 |
|
32 |
st.audio("generated_song.wav", format="audio/wav")
|
33 |
|