Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -476,9 +476,9 @@ def format_result_display(result_data, index, total_results, result_type):
|
|
476 |
# --- Construct the Accordion Heading ---
|
477 |
accordion_title = ""
|
478 |
if result_type == "llm":
|
479 |
-
accordion_title = f"
|
480 |
elif result_type == "standard":
|
481 |
-
accordion_title = f"
|
482 |
elif result_type == "favourites":
|
483 |
score = result_data.get('favourite_score', 0)
|
484 |
accordion_title = f"⭐{score}" # Title is just the star score
|
|
|
476 |
# --- Construct the Accordion Heading ---
|
477 |
accordion_title = ""
|
478 |
if result_type == "llm":
|
479 |
+
accordion_title = f"{index + 1} von {total_results}"
|
480 |
elif result_type == "standard":
|
481 |
+
accordion_title = f"{index + 1} von {total_results}"
|
482 |
elif result_type == "favourites":
|
483 |
score = result_data.get('favourite_score', 0)
|
484 |
accordion_title = f"⭐{score}" # Title is just the star score
|