ejqs
commited on
Commit
·
ad4ea7b
1
Parent(s):
fb8e442
update endpoint url
Browse files- handler.py +1 -1
handler.py
CHANGED
|
@@ -294,7 +294,7 @@ class EndpointHandler():
|
|
| 294 |
"Authorization": f"Bearer {self.hf_token}"
|
| 295 |
}
|
| 296 |
response = requests.post(
|
| 297 |
-
"https://
|
| 298 |
json={"inputs": context},
|
| 299 |
headers=headers,
|
| 300 |
timeout=30
|
|
|
|
| 294 |
"Authorization": f"Bearer {self.hf_token}"
|
| 295 |
}
|
| 296 |
response = requests.post(
|
| 297 |
+
"https://iprlg93qeghlgufi.us-east-1.aws.endpoints.huggingface.cloud",
|
| 298 |
json={"inputs": context},
|
| 299 |
headers=headers,
|
| 300 |
timeout=30
|