not-lain commited on
Commit
abe552f
1 Parent(s): 73f7f93

finished debugging the hulicination feature

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -24,7 +24,7 @@ def check_hallucination(assertion,citation):
24
 
25
  response = requests.post(API_URL, headers=headers, json=payload,timeout=120)
26
  output = response.json()
27
- # output = output[0][0]["score"]
28
 
29
  return f"**hullicination score:** {output}"
30
 
 
24
 
25
  response = requests.post(API_URL, headers=headers, json=payload,timeout=120)
26
  output = response.json()
27
+ output = output[0][0]["score"]
28
 
29
  return f"**hullicination score:** {output}"
30