clr commited on
Commit
7116577
·
1 Parent(s): 656ab5e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -35,9 +35,9 @@ def setup():
35
 
36
  def load_lang(langname):
37
  if langname=="Icelandic":
38
- ds = corpora.ds_i
39
  elif langname =="Faroese":
40
- ds = corpora.ds_f
41
  df = df.drop(columns=['audio', 'speaker_id','duration'])
42
  return df[:10]#(df, df[:50])
43
 
@@ -48,7 +48,7 @@ def f1(langname):
48
  elif langname =="Faroese":
49
  ds = corpora.ds_f
50
 
51
- print(ds[40])
52
 
53
  fig = plt.figure(figsize=(10,4))
54
  plt.axline((0,0),slope=1,color="darkgray")
 
35
 
36
  def load_lang(langname):
37
  if langname=="Icelandic":
38
+ df = corpora.ds_i
39
  elif langname =="Faroese":
40
+ df = corpora.ds_f
41
  df = df.drop(columns=['audio', 'speaker_id','duration'])
42
  return df[:10]#(df, df[:50])
43
 
 
48
  elif langname =="Faroese":
49
  ds = corpora.ds_f
50
 
51
+ print(ds.sample())
52
 
53
  fig = plt.figure(figsize=(10,4))
54
  plt.axline((0,0),slope=1,color="darkgray")