TanyaVM commited on
Commit
f813def
·
verified ·
1 Parent(s): fcb72b7

Update handler.py

Browse files
Files changed (1) hide show
  1. 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://vllm_generate/v1/completions"
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):