Update handler.py
Browse files- 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):
|