felix
init
7411847
raw
history blame
621 Bytes
# app.py
import streamlit as st
import glob
import os
from datetime import datetime
st.set_page_config(layout="wide")
st.title('Meta Open LLM leaderboard')
data_path = './data/20230820_0354/'
# Extracting date and time information from the path
date_str = data_path.split('/')[-2]
parsed_date = datetime.strptime(date_str, "%Y%m%d_%H%M")
# Formatting the parsed date
formatted_date = parsed_date.strftime("%b %d, %Y %H:%M")
st.subheader("Generated on: " + formatted_date)
imgs = glob.glob(os.path.join(data_path, '*.png'))
cols = st.columns(2)
for i, img in enumerate(imgs):
cols[i % 2].image(img, width=None)