Spaces:
Running
Running
Update dub.py
Browse files
dub.py
CHANGED
@@ -17,8 +17,7 @@ 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 |
-
"
|
21 |
-
"https" : "https://82.99.217.18:8080"
|
22 |
}
|
23 |
headers = {
|
24 |
'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 |
+
"https" : "https://free.shecan.ir/dns-query"
|
|
|
21 |
}
|
22 |
headers = {
|
23 |
'Content-Type': 'application/json',
|