Futuresony commited on
Commit
1e6371a
·
verified ·
1 Parent(s): 08f22be

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -870,7 +870,7 @@ If Search Results were used, list the relevant URLs under a "Sources:" heading a
870
  # Add other fields here...
871
  # if contact_person: gathered_info_summary += f" Contact Person: {contact_person.group(1).strip()}\n"
872
 
873
- elif "No relevant matches found" in lr_content:
874
  score_match = re.search(r"final_best_score='(.*?)'", lr_content) # Look for final_best_score
875
  score = float(score_match.group(1)) if score_match else 0.0
876
  threshold_match = re.search(r"requested_threshold='(.*?)'", lr_content)
 
870
  # Add other fields here...
871
  # if contact_person: gathered_info_summary += f" Contact Person: {contact_person.group(1).strip()}\n"
872
 
873
+ elif "No relevant matches found" in lr_content:
874
  score_match = re.search(r"final_best_score='(.*?)'", lr_content) # Look for final_best_score
875
  score = float(score_match.group(1)) if score_match else 0.0
876
  threshold_match = re.search(r"requested_threshold='(.*?)'", lr_content)