TymaaHammouda commited on
Commit
bde3485
·
1 Parent(s): 35619f4

Update models path

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -14,10 +14,11 @@ os.makedirs(SINATOOLS_DIR, exist_ok=True)
14
  dest_path = os.path.join(SINATOOLS_DIR)
15
 
16
  # Download explicitly to the expected path
17
- download_file(
18
- url="https://sina.birzeit.edu/lemmas_dic.pickle",
19
- dest_path=dest_path
20
- )
 
21
 
22
  from sinatools.morphology.morph_analyzer import analyze
23
 
 
14
  dest_path = os.path.join(SINATOOLS_DIR)
15
 
16
  # Download explicitly to the expected path
17
+ download_file(url="https://sina.birzeit.edu/lemmas_dic.pickle", dest_path=dest_path)
18
+ download_file(url='https://sina.birzeit.edu/five_grams.pickle', dest_path=dest_path)
19
+ download_file(url='https://sina.birzeit.edu/four_grams.pickle', dest_path=dest_path)
20
+ download_file(url='https://sina.birzeit.edu/three_grams.pickle', dest_path=dest_path)
21
+ download_file(url='https://sina.birzeit.edu/two_grams.pickle', dest_path=dest_path)
22
 
23
  from sinatools.morphology.morph_analyzer import analyze
24