adt commited on
Commit
b50cb3b
·
verified ·
1 Parent(s): 9d1e899

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -23,7 +23,7 @@ CLIP_LENGTH = 80
23
 
24
  df = pd.read_csv("models-table-free.csv", dtype=str, keep_default_na=False)
25
 
26
- for col in ["Notes", "Training dataset", "Tags"]:
27
  if col in df.columns:
28
  df[col] = df[col].apply(lambda x: x[:CLIP_LENGTH] + "..." if len(x) > CLIP_LENGTH else x)
29
 
@@ -35,7 +35,7 @@ with gr.Blocks(title="Models Table Pro — Free Preview", css=CSS) as demo:
35
  datatype=["str"] * len(df.columns),
36
  interactive=False,
37
  wrap=False,
38
- max_height=800,
39
  )
40
 
41
  demo.launch()
 
23
 
24
  df = pd.read_csv("models-table-free.csv", dtype=str, keep_default_na=False)
25
 
26
+ for col in ["Notes", "Training dataset", "Tags", "Lab"]:
27
  if col in df.columns:
28
  df[col] = df[col].apply(lambda x: x[:CLIP_LENGTH] + "..." if len(x) > CLIP_LENGTH else x)
29
 
 
35
  datatype=["str"] * len(df.columns),
36
  interactive=False,
37
  wrap=False,
38
+ max_height=2000,
39
  )
40
 
41
  demo.launch()