# AUTOGENERATED! DO NOT EDIT! File to edit: app.ipynb. # %% auto 0 __all__ = ['df', 'columns_to_click', 'title', 'description', 'dtypes', 'make_clickable_cell', 'value_func'] # %% app.ipynb 0 import gradio as gr import pandas as pd # %% app.ipynb 1 df = pd.read_csv( "https://docs.google.com/spreadsheets/d/e/2PACX-1vSC40sszorOjHfozmNqJT9lFiJhG94u3fbr3Ss_7fzcU3xqqJQuW1Ie_SNcWEB-uIsBi9NBUK7-ddet/pub?output=csv", skiprows=1, ) # %% app.ipynb 2 # Drop footers df = df.copy()[~df["Model"].isna()] # %% app.ipynb 3 # Drop TBA models df = df.copy()[df["Parameters \n(B)"] != "TBA"] # %% app.ipynb 6 def make_clickable_cell(cell): if pd.isnull(cell): return "" else: return f'{cell}' # %% app.ipynb 7 columns_to_click = ["Paper / Repo", "Selected \nplaygrounds"] for col in columns_to_click: df[col] = df[col].apply(make_clickable_cell) # %% app.ipynb 9 title = """