File size: 581 Bytes
88878f9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import gradio as gr 
import pandas as pd

df = pd.read_csv("results.csv")
columns = ['total_likes', 'name', 'count_users', 'models_count', 'models_likes',
       'models_downloads', 'datasets_count', 'datasets_likes',
       'datasets_downloads', 'spaces_count', 'spaces_likes']
df = df[columns]


with gr.Blocks() as demo:
    gr.Markdown("""<h1 align="center" id="space-title">Universities at Hugging Face</h1>""")
    gr.Markdown("""This is from November 10 2023, it's not automatically updated.""")

    gr_spaces = gr.Dataframe(df, interactive=False)

demo.launch(debug=True)