def format_results_HTML(label:str, rank: str, score: float, text:str, answer:str) -> str:
    """Format results to HTML for Topic Extraction"""

    formatted_score = round(score*100,0)/100

    html = f"""
    <div class='header'> <span class='rank'>{rank}</span> <span class='rank'>Score {formatted_score}</span> <span class='label'>{label}</span> </div>
    <div class='text'>{text}</div>
    <p class='answer_container'>{answer}</p>
    """
    return html