Spaces:
Sleeping
Sleeping
fix case with no results
Browse files
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"
|
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)
|