Spaces:
Runtime error
Runtime error
xiomarablanco
commited on
Commit
·
df9870a
1
Parent(s):
b654a0b
Update app.py
Browse files
app.py
CHANGED
@@ -115,8 +115,8 @@ def exportResultToExcelFile(modelResult):
|
|
115 |
|
116 |
def copySpanishDictionaries():
|
117 |
try:
|
118 |
-
shutil.copy("./assets/hunspell_dictionaries/es_ES/es_ES.aff", "/home/user/.local/lib/python3.
|
119 |
-
shutil.copy("./assets/hunspell_dictionaries/es_ES/es_ES.dic", "/home/user/.local/lib/python3.
|
120 |
except Exception as ex:
|
121 |
print("Error copying dictionaries" + str(ex))
|
122 |
|
|
|
115 |
|
116 |
def copySpanishDictionaries():
|
117 |
try:
|
118 |
+
shutil.copy("./assets/hunspell_dictionaries/es_ES/es_ES.aff", "/home/user/.local/lib/python3.9/site-packages/hunspell/dictionaries/es_ES.aff")
|
119 |
+
shutil.copy("./assets/hunspell_dictionaries/es_ES/es_ES.dic", "/home/user/.local/lib/python3.9/site-packages/hunspell/dictionaries/es_ES.dic")
|
120 |
except Exception as ex:
|
121 |
print("Error copying dictionaries" + str(ex))
|
122 |
|