Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -136,7 +136,8 @@ async def get_irish_tts(request: TTSRequest):
|
|
| 136 |
headers = {
|
| 137 |
"Origin": "https://abair.ie",
|
| 138 |
"Referer": "https://abair.ie/",
|
| 139 |
-
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36"
|
|
|
|
| 140 |
}
|
| 141 |
|
| 142 |
async with httpx.AsyncClient() as client:
|
|
|
|
| 136 |
headers = {
|
| 137 |
"Origin": "https://abair.ie",
|
| 138 |
"Referer": "https://abair.ie/",
|
| 139 |
+
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36",
|
| 140 |
+
"Accept": "*/*"
|
| 141 |
}
|
| 142 |
|
| 143 |
async with httpx.AsyncClient() as client:
|