tommy24 commited on
Commit
99e78ec
·
1 Parent(s): e31672c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -215,7 +215,7 @@ def function(Textbox, Textbox2, Textbox3, Dropdown):
215
  "key": "3637c6b5-09c9-4d49-b8fe-a9ffecc36f86",
216
  "voice_id": "male"
217
  }
218
- response = requests.post(url, headers=headers, json=data)
219
  output = responsee.json()
220
  output_url = output[0]
221
  def download_audio(output_url, output_file):
 
215
  "key": "3637c6b5-09c9-4d49-b8fe-a9ffecc36f86",
216
  "voice_id": "male"
217
  }
218
+ response = requests.post("https://api.carterlabs.ai/speak", headers=headers, json=data)
219
  output = responsee.json()
220
  output_url = output[0]
221
  def download_audio(output_url, output_file):