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

debugging hullicination

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