import gradio as gr
import pandas as pd
def clickable(x):
return f'{x}'
df = pd.read_csv("results.csv")
df["name"] = df["name"].apply(lambda x: clickable(x))
df.drop(columns=df.columns[0], axis=1, inplace=True)
with gr.Blocks() as demo:
gr.Markdown("""
Universities at Hugging Face
""")
gr.Markdown("""This is from November 10 2023, it's not automatically updated.""")
gr_spaces = gr.Dataframe(df, interactive=False, datatype=['str', "markdown", 'str', 'str', 'str', 'str', 'str', 'str', 'str', 'str', 'str'])
demo.launch(debug=True)