anton-l HF staff commited on
Commit
12597d4
1 Parent(s): d33f321

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -9,6 +9,7 @@ exts = list(df["extension"].unique())
9
 
10
  def compute(lang):
11
  df_lang = df[df["language"]==lang]
 
12
  # clean up weird exts
13
  df_lang = df_lang[df_lang["ext_fraction_per_lang"] > 0.0001].reset_index()
14
 
 
9
 
10
  def compute(lang):
11
  df_lang = df[df["language"]==lang]
12
+ df_lang["extension"] = df["extension"].fillna(" ")
13
  # clean up weird exts
14
  df_lang = df_lang[df_lang["ext_fraction_per_lang"] > 0.0001].reset_index()
15