Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
1littlecoder
commited on
Commit
•
5f4d187
1
Parent(s):
99f3aa9
Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ def text_to_speech(text):
|
|
14 |
payload = {
|
15 |
"voice": "s3://voice-cloning-zero-shot/d9ff78ba-d016-47f6-b0ef-dd630f59414e/female-cs/manifest.json", # Replace with your desired voice
|
16 |
"output_format": "mp3",
|
17 |
-
"
|
18 |
}
|
19 |
headers = {
|
20 |
"accept": "audio/mpeg",
|
|
|
14 |
payload = {
|
15 |
"voice": "s3://voice-cloning-zero-shot/d9ff78ba-d016-47f6-b0ef-dd630f59414e/female-cs/manifest.json", # Replace with your desired voice
|
16 |
"output_format": "mp3",
|
17 |
+
"text": text # Text to be converted to speech
|
18 |
}
|
19 |
headers = {
|
20 |
"accept": "audio/mpeg",
|