Spaces:
Runtime error
Runtime error
- removed sudo command
Browse files
app.py
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
import subprocess
|
2 |
|
3 |
# Install hunspell and its dependencies, pip wheels are completely broken
|
4 |
-
subprocess.call(['
|
5 |
-
subprocess.call(['
|
6 |
|
7 |
# Import hunspell
|
8 |
import hunspell
|
|
|
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
|