Spaces:
Running
Running
Upload app.py with huggingface_hub
Browse files
app.py
CHANGED
@@ -397,7 +397,7 @@ def should_continue_groundedness(state):
|
|
397 |
"""Decides if groundedness is sufficient or needs improvement."""
|
398 |
print("---------should_continue_groundedness---------")
|
399 |
print("groundedness loop count: ", state['groundedness_loop_count'])
|
400 |
-
if state['groundedness_score'] >= 0.8 # Complete the code to define the threshold for groundedness
|
401 |
print("Moving to precision")
|
402 |
return "check_precision"
|
403 |
else:
|
|
|
397 |
"""Decides if groundedness is sufficient or needs improvement."""
|
398 |
print("---------should_continue_groundedness---------")
|
399 |
print("groundedness loop count: ", state['groundedness_loop_count'])
|
400 |
+
if state['groundedness_score'] >= 0.8: # Complete the code to define the threshold for groundedness
|
401 |
print("Moving to precision")
|
402 |
return "check_precision"
|
403 |
else:
|