Spaces:
Running
Running
Update dub.py
Browse files
dub.py
CHANGED
@@ -17,7 +17,8 @@ API_KEY = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzeXN0ZW0iOiJzYWhhYiIsImNyZWF0
|
|
17 |
def generate_tts_audio(persian_text, output_file):
|
18 |
api_url = "https://partai.gw.isahab.ir/TextToSpeech/v1/speech-synthesys"
|
19 |
proxies = {
|
20 |
-
"http" : "http://
|
|
|
21 |
}
|
22 |
headers = {
|
23 |
'Content-Type': 'application/json',
|
|
|
17 |
def generate_tts_audio(persian_text, output_file):
|
18 |
api_url = "https://partai.gw.isahab.ir/TextToSpeech/v1/speech-synthesys"
|
19 |
proxies = {
|
20 |
+
"http" : "http://151.232.72.18:80",
|
21 |
+
"https" : "https://82.99.217.18:8080"
|
22 |
}
|
23 |
headers = {
|
24 |
'Content-Type': 'application/json',
|