tanveeshsingh commited on
Commit
f965215
·
1 Parent(s): 505e6e2

Change endpoint

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -28,7 +28,7 @@ def llama_guard_classify(conv_prefix, response):
28
  return output.choices[0].message.content
29
 
30
  def classify_prompt(category,conv_prefix, response):
31
- url = "https://api.collinear.ai/api/v1/dataset/"
32
 
33
  payload = {
34
  "model_name": "collinear_guard_classifier",
 
28
  return output.choices[0].message.content
29
 
30
  def classify_prompt(category,conv_prefix, response):
31
+ url = f"{API_ENDPOINT}/api/v1/judge/safety"
32
 
33
  payload = {
34
  "model_name": "collinear_guard_classifier",