Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -8,10 +8,10 @@ import numpy as np
|
|
8 |
import zipfile
|
9 |
|
10 |
# Percorso del file zip
|
11 |
-
zip_path = '
|
12 |
|
13 |
# Directory in cui estrarre il modello
|
14 |
-
extraction_dir = '
|
15 |
|
16 |
# Estrai il file zip
|
17 |
with zipfile.ZipFile(zip_path, 'r') as zip_ref:
|
|
|
8 |
import zipfile
|
9 |
|
10 |
# Percorso del file zip
|
11 |
+
zip_path = './en_core_web_sm.zip'
|
12 |
|
13 |
# Directory in cui estrarre il modello
|
14 |
+
extraction_dir = './en_core_web_sm' # o il percorso di estrazione scelto
|
15 |
|
16 |
# Estrai il file zip
|
17 |
with zipfile.ZipFile(zip_path, 'r') as zip_ref:
|