File size: 748 Bytes
88878f9
 
 
 
 
 
 
 
 
45993dd
 
 
 
 
 
 
 
 
 
 
 
88878f9
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import gradio as gr 
import pandas as pd

df = pd.read_csv("results.csv")

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.""")

    with gr.Row():
        gr.Markdown("""
        ## Search your org
        Simply type your org to find the models
        """)
    with gr.Row():
        org_id = gr.Textbox(label= "Organization id")
        search_btn = gr.Button("Search the stats 🔎")
        reset_btn = gr.Button("Clear my search")
        env = gr.Variable(rl_env["rl_env"])
        grpath = gr.Variable(path_)

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

demo.launch(debug=True)