ky2k commited on
Commit
ac72811
·
1 Parent(s): 653a43b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -1,8 +1,10 @@
1
  import subprocess
2
 
3
  # Install hunspell and its dependencies, pip wheels are completely broken
4
- subprocess.call(['apt', 'install', 'hunspell', 'hunspell-uk', 'libhunspell-dev'])
5
- subprocess.call(['pip', 'install', 'hunspell'])
 
 
6
 
7
  # Import hunspell
8
  import hunspell
 
1
  import subprocess
2
 
3
  # Install hunspell and its dependencies, pip wheels are completely broken
4
+ import subprocess
5
+
6
+ # Execute the shell script
7
+ subprocess.call(['sh', 'install_hunspell.sh'])
8
 
9
  # Import hunspell
10
  import hunspell