Update app.py
Browse files
app.py
CHANGED
|
@@ -13,6 +13,7 @@ def generate_tts():
|
|
| 13 |
def generate_audio(note, octave, duration):
|
| 14 |
generate_tts()
|
| 15 |
wav_file_path = "output.wav"
|
|
|
|
| 16 |
sr, audio_data = wavfile.read(wav_file_path)
|
| 17 |
|
| 18 |
return sr, audio_data
|
|
|
|
| 13 |
def generate_audio(note, octave, duration):
|
| 14 |
generate_tts()
|
| 15 |
wav_file_path = "output.wav"
|
| 16 |
+
|
| 17 |
sr, audio_data = wavfile.read(wav_file_path)
|
| 18 |
|
| 19 |
return sr, audio_data
|