Spaces:
Runtime error
Runtime error
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) | |