Update app.py
Browse files
app.py
CHANGED
@@ -102,7 +102,7 @@ def process_and_play(text: str, file: gr.inputs.Audio, offset, time_signature) -
|
|
102 |
output = BytesIO()
|
103 |
wavfile.write(output, sr, output_wav)
|
104 |
output.seek(0) # Reset the file pointer to the beginning of the buffer
|
105 |
-
return
|
106 |
|
107 |
|
108 |
inputs = [
|
|
|
102 |
output = BytesIO()
|
103 |
wavfile.write(output, sr, output_wav)
|
104 |
output.seek(0) # Reset the file pointer to the beginning of the buffer
|
105 |
+
return sr, output_wav
|
106 |
|
107 |
|
108 |
inputs = [
|