#!/usr/bin/env python | |
import gradio as gr | |
from papers import PaperList, get_df | |
paper_list = PaperList(get_df('papers.csv')) | |
with gr.Blocks(css='style.css') as demo: | |
df = gr.Dataframe(value=paper_list.df_prettified, | |
datatype=paper_list.column_datatype, | |
type='pandas', | |
interactive=False) | |
demo.queue().launch() | |