Spaces:
Running
Running
File size: 437 Bytes
f0305ab | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | import streamlit as st
import pandas as pd
st.title("Model Performance Comparison")
data = {
"Model": ["VGG16","ResNet50","MobileNetV2","EfficientNetB0"],
"Accuracy": [0.83,0.88,0.85,0.91],
"Inference Time (ms)": [150,100,50,80]
}
df = pd.DataFrame(data)
st.dataframe(df, use_container_width=True)
st.bar_chart(df.set_index("Model")["Accuracy"])
st.bar_chart(df.set_index("Model")["Inference Time (ms)"]) |