davidr70 commited on
Commit
e8510a1
·
1 Parent(s): 3b0c45c

fix case with no results

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -115,7 +115,7 @@ def update_source_runs(question_option, source_finder_id):
115
  source_runs = asyncio.run(get_source_runs(question_id, finder_id_int))
116
 
117
  if not source_runs:
118
- return None, None, "No results found for the selected filters", None
119
 
120
  # Create DataFrame for display
121
  df = pd.DataFrame(source_runs)
 
115
  source_runs = asyncio.run(get_source_runs(question_id, finder_id_int))
116
 
117
  if not source_runs:
118
+ return None, None, "No results found for the selected filters"
119
 
120
  # Create DataFrame for display
121
  df = pd.DataFrame(source_runs)