Update handler.py
Browse files- handler.py +1 -1
handler.py
CHANGED
|
@@ -2,7 +2,7 @@ import requests
|
|
| 2 |
|
| 3 |
class EndpointHandler:
|
| 4 |
def __init__(self, path=""):
|
| 5 |
-
self.api_url = "http://
|
| 6 |
self.headers = {"Content-Type": "application/json"}
|
| 7 |
|
| 8 |
def __call__(self, data):
|
|
|
|
| 2 |
|
| 3 |
class EndpointHandler:
|
| 4 |
def __init__(self, path=""):
|
| 5 |
+
self.api_url = "http://localhost:8000/v1/completions"
|
| 6 |
self.headers = {"Content-Type": "application/json"}
|
| 7 |
|
| 8 |
def __call__(self, data):
|