jenngang commited on
Commit
27f3e73
·
verified ·
1 Parent(s): 5eb7f83

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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: