Spaces:
Runtime error
Runtime error
osanseviero
commited on
Commit
•
ca33d1e
1
Parent(s):
0f139d7
Update app.py
Browse files
app.py
CHANGED
@@ -121,6 +121,7 @@ def process(text):
|
|
121 |
array_of_floats /=1.414
|
122 |
array_of_floats *= 32767
|
123 |
int16_data = array_of_floats.astype(np.int16)
|
|
|
124 |
|
125 |
title = "Music generation with GPT-2"
|
126 |
|
|
|
121 |
array_of_floats /=1.414
|
122 |
array_of_floats *= 32767
|
123 |
int16_data = array_of_floats.astype(np.int16)
|
124 |
+
return SAMPLE_RATE, int16_data
|
125 |
|
126 |
title = "Music generation with GPT-2"
|
127 |
|