File size: 488 Bytes
08080f2 2716ba4 08080f2 2716ba4 08080f2 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
#!/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()
|