wissamantoun commited on
Commit
3a236ec
·
1 Parent(s): 7253ac0
Files changed (2) hide show
  1. app.py +2 -2
  2. backend/utils.py +2 -2
app.py CHANGED
@@ -5,7 +5,7 @@ from backend.utils import get_current_ram_usage, install_git_lfs
5
 
6
  install_git_lfs()
7
 
8
- import backend.aragpt
9
  import backend.home
10
  import backend.processor
11
  import backend.sa
@@ -17,7 +17,7 @@ st.set_page_config(
17
  PAGES = {
18
  "Home": backend.home,
19
  "Arabic Text Preprocessor": backend.processor,
20
- "Arabic Language Generation": backend.aragpt,
21
  "Arabic Sentiment Analysis": backend.sa,
22
  }
23
 
 
5
 
6
  install_git_lfs()
7
 
8
+ # import backend.aragpt
9
  import backend.home
10
  import backend.processor
11
  import backend.sa
 
17
  PAGES = {
18
  "Home": backend.home,
19
  "Arabic Text Preprocessor": backend.processor,
20
+ # "Arabic Language Generation": backend.aragpt,
21
  "Arabic Sentiment Analysis": backend.sa,
22
  }
23
 
backend/utils.py CHANGED
@@ -18,6 +18,6 @@ def download_models(models):
18
 
19
 
20
  def install_git_lfs():
21
- os.system("git lfs update --force")
 
22
  os.system("git lfs install")
23
- os.system("git lfs update --force")
 
18
 
19
 
20
  def install_git_lfs():
21
+
22
+ os.system("chmod a+rwx /home/user/app/.git/hooks/pre-push")
23
  os.system("git lfs install")