H4moud commited on
Commit
e10c285
·
1 Parent(s): 9dd9a4a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -23,5 +23,6 @@ speech = model.generate_speech(inputs["input_ids"], speaker_embeddings, vocoder=
23
  sf.write("speech.wav", speech.numpy(), samplerate=16000)
24
  #audio_path = "VocalEminem.wav"
25
 
26
- st.audio(speech.wav)
27
- #Audio(audio_path)
 
 
23
  sf.write("speech.wav", speech.numpy(), samplerate=16000)
24
  #audio_path = "VocalEminem.wav"
25
 
26
+ audio_path="speech.wav"
27
+ Audio(audio_path)
28
+ st.audio(audio_path)