Skip to content
This repository has been archived by the owner on Dec 9, 2024. It is now read-only.

Commit

Permalink
Merge pull request #181 from DrAlzahraniProjects/add-confusion-matrix…
Browse files Browse the repository at this point in the history
…-redirect-link
  • Loading branch information
smrchanda877 authored Nov 18, 2024
2 parents fe0f237 + 8b1ffd5 commit 579bc2f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
8 changes: 7 additions & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,13 @@ def display_performance_metrics():
"""
Display performance metrics in the sidebar.
"""
st.sidebar.title("Confusion Matrix")

# Title with clickable text
st.sidebar.markdown(
'<a href="https://github.com/DrAlzahraniProjects/csusb_fall2024_cse6550_team1?tab=readme-ov-file#software-quality-assurance-for-the-it-chatbot" class="sidebar-heading">Confusion Matrix</a>',
unsafe_allow_html=True,
)

important_metrics = [
("Sensitivity", "sensitivity"),
("Specificity", "specificity"),
Expand Down
7 changes: 7 additions & 0 deletions assets/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,13 @@ div[data-testid="stVerticalBlock"] div:has(div.fixed-header) {
float: right;
}

.sidebar-heading {
text-decoration: none;
font-size: 30px;
font-weight: bold;
color: black !important;
}

.assistant-message {
text-align: left;
background-color: #e8f4ff;
Expand Down

0 comments on commit 579bc2f

Please sign in to comment.