Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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(
|
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):
|