Spaces:
Runtime error
Runtime error
Arthour
commited on
Commit
·
a8bec11
1
Parent(s):
95a5fa3
Dependencies fix
Browse files- app.py +0 -2
- requirments.txt → requirements.txt +1 -0
app.py
CHANGED
@@ -1,6 +1,5 @@
|
|
1 |
import hashlib
|
2 |
import logging
|
3 |
-
import os
|
4 |
from datetime import datetime
|
5 |
from typing import Dict, Any, List
|
6 |
|
@@ -81,7 +80,6 @@ class Application:
|
|
81 |
|
82 |
|
83 |
if __name__ == '__main__':
|
84 |
-
os.system("python -m spacy download en_core_web_md")
|
85 |
db.generate_mapping(create_tables=True)
|
86 |
application = Application(
|
87 |
classificator=Classificator(
|
|
|
1 |
import hashlib
|
2 |
import logging
|
|
|
3 |
from datetime import datetime
|
4 |
from typing import Dict, Any, List
|
5 |
|
|
|
80 |
|
81 |
|
82 |
if __name__ == '__main__':
|
|
|
83 |
db.generate_mapping(create_tables=True)
|
84 |
application = Application(
|
85 |
classificator=Classificator(
|
requirments.txt → requirements.txt
RENAMED
@@ -4,3 +4,4 @@ spacy==3.4.3
|
|
4 |
streamlit==1.15.2
|
5 |
pony==0.7.16
|
6 |
psycopg2==2.9.5
|
|
|
|
4 |
streamlit==1.15.2
|
5 |
pony==0.7.16
|
6 |
psycopg2==2.9.5
|
7 |
+
en_core_web_md @ https://github.com/explosion/spacy-models/releases/download/en_core_web_md-3.4.1/en_core_web_md-3.4.1.tar.gz
|