kumararvindibs commited on
Commit
5fa79a1
·
verified ·
1 Parent(s): 4e30d3d

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +1 -1
handler.py CHANGED
@@ -36,7 +36,7 @@ class EndpointHandler():
36
  sf.write("StoryAudio.wav", outputs["waveform"][0].numpy(), self.model.config.sampling_rate)
37
  uploadGraphFile("StoryAudio.wav")
38
  st.audio("StoryAudio.wav")
39
- return 'StoryAudio.wav'
40
  # Check if the request was successful
41
 
42
  def uploadGraphFile(fileName):
 
36
  sf.write("StoryAudio.wav", outputs["waveform"][0].numpy(), self.model.config.sampling_rate)
37
  uploadGraphFile("StoryAudio.wav")
38
  st.audio("StoryAudio.wav")
39
+ #return 'StoryAudio.wav'
40
  # Check if the request was successful
41
 
42
  def uploadGraphFile(fileName):