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