Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
sachin
commited on
Commit
·
a908d62
1
Parent(s):
f73c392
test
Browse files- src/server/main.py +1 -2
src/server/main.py
CHANGED
@@ -684,8 +684,7 @@ async def translate(
|
|
684 |
json=payload,
|
685 |
headers={
|
686 |
"accept": "application/json",
|
687 |
-
"Content-Type": "application/json"
|
688 |
-
"Authorization": f"Bearer {settings.external_api_token}" # Add external API token if required
|
689 |
},
|
690 |
timeout=60
|
691 |
)
|
|
|
684 |
json=payload,
|
685 |
headers={
|
686 |
"accept": "application/json",
|
687 |
+
"Content-Type": "application/json"
|
|
|
688 |
},
|
689 |
timeout=60
|
690 |
)
|