Skip to content

Instantly share code, notes, and snippets.

@ahmedbesbes
Created July 23, 2022 09:36
Show Gist options
  • Save ahmedbesbes/224c8d1545285c90e382cccc51a32c67 to your computer and use it in GitHub Desktop.
Save ahmedbesbes/224c8d1545285c90e382cccc51a32c67 to your computer and use it in GitHub Desktop.
import streamlit as st
tabs = st.tabs(["metrics", "plots", "reports"])
tab_metrics = tabs[0]
tab_metrics.metric("Precision", 0.85, delta=0.2)
tab_metrics.metric("Recall", 0.60, delta=-0.1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment