ArtMirror2000 commited on
Commit
7052a46
1 Parent(s): fa43e46

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -2,7 +2,9 @@ import gradio as gr
2
  import fasttext
3
  import fasttext.util
4
 
5
- ft = fasttext.load_model('cc.en.100.bin')
 
 
6
 
7
  def getVectors(fname):
8
  data = {}
 
2
  import fasttext
3
  import fasttext.util
4
 
5
+ fasttext.util.download_model('arz', if_exists='ignore') # E Arabic
6
+ #ft = fasttext.load_model('cc.fa.300.bin')
7
+ ft = fasttext.load_model('cc.arz.300.bin')
8
 
9
  def getVectors(fname):
10
  data = {}