papers / app.py
hysts's picture
hysts HF staff
Add title
2716ba4
raw
history blame
488 Bytes
#!/usr/bin/env python
import gradio as gr
from papers import PaperList, get_df
paper_list = PaperList(get_df('papers.csv'))
DESCRIPTION = '''# list of [Daily Papers](https://huggingface.co/papers)'''
with gr.Blocks(css='style.css') as demo:
gr.Markdown(DESCRIPTION)
df = gr.Dataframe(value=paper_list.df_prettified,
datatype=paper_list.column_datatype,
type='pandas',
interactive=False)
demo.queue().launch()