daily-papers / app.py
hysts's picture
hysts HF staff
Add files
08080f2
raw
history blame
382 Bytes
#!/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()