Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -38,7 +38,7 @@ def generate_audio(text):
|
|
38 |
|
39 |
# Send a request to the text-to-speech API
|
40 |
headers = {
|
41 |
-
"api-key":
|
42 |
"voice": voice,
|
43 |
"speed": speed
|
44 |
}
|
|
|
38 |
|
39 |
# Send a request to the text-to-speech API
|
40 |
headers = {
|
41 |
+
"api-key": tts,
|
42 |
"voice": voice,
|
43 |
"speed": speed
|
44 |
}
|