1littlecoder commited on
Commit
5f4d187
1 Parent(s): 99f3aa9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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
- "content": text # Text to be converted to speech
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",