Spaces:
Runtime error
Runtime error
debugging hullicination
Browse files
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 |
|