Spaces:
Runtime error
Runtime error
feat: updated dependencies
Browse files- README.md +4 -3
- app.py +1 -1
- poetry.lock +0 -0
- pyproject.toml +3 -3
- requirements.txt +139 -118
README.md
CHANGED
@@ -1,13 +1,14 @@
|
|
1 |
---
|
2 |
-
title:
|
3 |
emoji: π
|
4 |
colorFrom: red
|
5 |
colorTo: indigo
|
6 |
sdk: gradio
|
7 |
-
sdk_version: 3.
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
license: apache-2.0
|
|
|
11 |
---
|
12 |
|
13 |
# HuSpaCy Examples
|
@@ -19,4 +20,4 @@ This repository presents some practical examples on using HuSpaCy for various te
|
|
19 |
|
20 |
To start the demo: `poetry run python app.py`
|
21 |
|
22 |
-
If you upgrade dependencies via poetry don't forget to update `requirements.txt` with `poetry export --without-hashes > requirements.txt`
|
|
|
1 |
---
|
2 |
+
title: HuSpaCy Use Cases
|
3 |
emoji: π
|
4 |
colorFrom: red
|
5 |
colorTo: indigo
|
6 |
sdk: gradio
|
7 |
+
sdk_version: 3.28.2
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
license: apache-2.0
|
11 |
+
python_version: 3.10
|
12 |
---
|
13 |
|
14 |
# HuSpaCy Examples
|
|
|
20 |
|
21 |
To start the demo: `poetry run python app.py`
|
22 |
|
23 |
+
If you upgrade dependencies via poetry don't forget to update `requirements.txt` with `poetry export --without-hashes > requirements.txt`
|
app.py
CHANGED
@@ -15,4 +15,4 @@ with demo:
|
|
15 |
)
|
16 |
|
17 |
if __name__ == '__main__':
|
18 |
-
demo.launch(share=
|
|
|
15 |
)
|
16 |
|
17 |
if __name__ == '__main__':
|
18 |
+
demo.launch(share=False)
|
poetry.lock
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
pyproject.toml
CHANGED
@@ -6,15 +6,15 @@ authors = ["Gyorgy Orosz <gyorgy@orosz.link>"]
|
|
6 |
license = "Apache 2.0"
|
7 |
|
8 |
[tool.poetry.dependencies]
|
9 |
-
python = "~3.
|
10 |
textacy = "^0.12.0"
|
11 |
scipy = "~1.8"
|
12 |
newspaper3k = "^0.2.8"
|
13 |
-
gradio = "
|
14 |
Faker = "^13.13.0"
|
15 |
presidio-analyzer = "^2.2.28"
|
16 |
presidio-anonymizer = "^2.2.28"
|
17 |
-
hu-core-news-trf = {url = "https://huggingface.co/huspacy/hu_core_news_trf/resolve/v3.
|
18 |
spacy-dbpedia-spotlight = "^0.2.2"
|
19 |
|
20 |
[tool.poetry.dev-dependencies]
|
|
|
6 |
license = "Apache 2.0"
|
7 |
|
8 |
[tool.poetry.dependencies]
|
9 |
+
python = "~3.10"
|
10 |
textacy = "^0.12.0"
|
11 |
scipy = "~1.8"
|
12 |
newspaper3k = "^0.2.8"
|
13 |
+
gradio = "~3.28.2"
|
14 |
Faker = "^13.13.0"
|
15 |
presidio-analyzer = "^2.2.28"
|
16 |
presidio-anonymizer = "^2.2.28"
|
17 |
+
hu-core-news-trf = {url = "https://huggingface.co/huspacy/hu_core_news_trf/resolve/v3.5.1/hu_core_news_trf-any-py3-none-any.whl"}
|
18 |
spacy-dbpedia-spotlight = "^0.2.2"
|
19 |
|
20 |
[tool.poetry.dev-dependencies]
|
requirements.txt
CHANGED
@@ -1,118 +1,139 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
async-timeout==4.0.2; python_version >= "3.
|
7 |
-
attrs==
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
faker==13.
|
25 |
-
fastapi==0.
|
26 |
-
feedfinder2==0.0.4
|
27 |
-
feedparser==6.0.10; python_version >= "3.
|
28 |
-
ffmpy==0.3.0; python_version >= "3.
|
29 |
-
filelock==3.
|
30 |
-
fonttools==4.
|
31 |
-
frozenlist==1.3.
|
32 |
-
fsspec==
|
33 |
-
gradio==
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
aiofiles==23.1.0 ; python_version >= "3.10" and python_version < "3.11"
|
2 |
+
aiohttp==3.8.4 ; python_version >= "3.10" and python_version < "3.11"
|
3 |
+
aiosignal==1.3.1 ; python_version >= "3.10" and python_version < "3.11"
|
4 |
+
altair==4.2.2 ; python_version >= "3.10" and python_version < "3.11"
|
5 |
+
anyio==3.6.2 ; python_version >= "3.10" and python_version < "3.11"
|
6 |
+
async-timeout==4.0.2 ; python_version >= "3.10" and python_version < "3.11"
|
7 |
+
attrs==23.1.0 ; python_version >= "3.10" and python_version < "3.11"
|
8 |
+
beautifulsoup4==4.12.2 ; python_version >= "3.10" and python_version < "3.11"
|
9 |
+
blis==0.7.9 ; python_version >= "3.10" and python_version < "3.11"
|
10 |
+
cachetools==5.3.0 ; python_version >= "3.10" and python_version < "3.11"
|
11 |
+
catalogue==2.0.8 ; python_version >= "3.10" and python_version < "3.11"
|
12 |
+
certifi==2022.12.7 ; python_version >= "3.10" and python_version < "3.11"
|
13 |
+
charset-normalizer==3.1.0 ; python_version >= "3.10" and python_version < "3.11"
|
14 |
+
click==8.1.3 ; python_version >= "3.10" and python_version < "3.11"
|
15 |
+
cmake==3.26.3 ; platform_system == "Linux" and platform_machine == "x86_64" and python_version >= "3.10" and python_version < "3.11"
|
16 |
+
colorama==0.4.6 ; python_version >= "3.10" and python_version < "3.11" and platform_system == "Windows" or python_version >= "3.10" and python_version < "3.11" and sys_platform == "win32"
|
17 |
+
confection==0.0.4 ; python_version >= "3.10" and python_version < "3.11"
|
18 |
+
contourpy==1.0.7 ; python_version >= "3.10" and python_version < "3.11"
|
19 |
+
cssselect==1.2.0 ; python_version >= "3.10" and python_version < "3.11"
|
20 |
+
cycler==0.11.0 ; python_version >= "3.10" and python_version < "3.11"
|
21 |
+
cymem==2.0.7 ; python_version >= "3.10" and python_version < "3.11"
|
22 |
+
cytoolz==0.12.1 ; python_version >= "3.10" and python_version < "3.11"
|
23 |
+
entrypoints==0.4 ; python_version >= "3.10" and python_version < "3.11"
|
24 |
+
faker==13.16.0 ; python_version >= "3.10" and python_version < "3.11"
|
25 |
+
fastapi==0.95.1 ; python_version >= "3.10" and python_version < "3.11"
|
26 |
+
feedfinder2==0.0.4 ; python_version >= "3.10" and python_version < "3.11"
|
27 |
+
feedparser==6.0.10 ; python_version >= "3.10" and python_version < "3.11"
|
28 |
+
ffmpy==0.3.0 ; python_version >= "3.10" and python_version < "3.11"
|
29 |
+
filelock==3.12.0 ; python_version >= "3.10" and python_version < "3.11"
|
30 |
+
fonttools==4.39.3 ; python_version >= "3.10" and python_version < "3.11"
|
31 |
+
frozenlist==1.3.3 ; python_version >= "3.10" and python_version < "3.11"
|
32 |
+
fsspec==2023.4.0 ; python_version >= "3.10" and python_version < "3.11"
|
33 |
+
gradio-client==0.1.4 ; python_version >= "3.10" and python_version < "3.11"
|
34 |
+
gradio==3.28.2 ; python_version >= "3.10" and python_version < "3.11"
|
35 |
+
h11==0.14.0 ; python_version >= "3.10" and python_version < "3.11"
|
36 |
+
httpcore==0.17.0 ; python_version >= "3.10" and python_version < "3.11"
|
37 |
+
httpx==0.24.0 ; python_version >= "3.10" and python_version < "3.11"
|
38 |
+
hu-core-news-trf @ https://huggingface.co/huspacy/hu_core_news_trf/resolve/v3.5.1/hu_core_news_trf-any-py3-none-any.whl ; python_version >= "3.10" and python_version < "3.11"
|
39 |
+
huggingface-hub==0.14.1 ; python_version >= "3.10" and python_version < "3.11"
|
40 |
+
idna==3.4 ; python_version >= "3.10" and python_version < "3.11"
|
41 |
+
jellyfish==0.11.2 ; python_version >= "3.10" and python_version < "3.11"
|
42 |
+
jieba3k==0.35.1 ; python_version >= "3.10" and python_version < "3.11"
|
43 |
+
jinja2==3.1.2 ; python_version >= "3.10" and python_version < "3.11"
|
44 |
+
joblib==1.2.0 ; python_version >= "3.10" and python_version < "3.11"
|
45 |
+
jsonschema==4.17.3 ; python_version >= "3.10" and python_version < "3.11"
|
46 |
+
kiwisolver==1.4.4 ; python_version >= "3.10" and python_version < "3.11"
|
47 |
+
langcodes==3.3.0 ; python_version >= "3.10" and python_version < "3.11"
|
48 |
+
linkify-it-py==2.0.2 ; python_version >= "3.10" and python_version < "3.11"
|
49 |
+
lit==16.0.2 ; platform_system == "Linux" and platform_machine == "x86_64" and python_version >= "3.10" and python_version < "3.11"
|
50 |
+
loguru==0.7.0 ; python_version >= "3.10" and python_version < "3.11"
|
51 |
+
lxml==4.9.2 ; python_version >= "3.10" and python_version < "3.11"
|
52 |
+
markdown-it-py==2.2.0 ; python_version >= "3.10" and python_version < "3.11"
|
53 |
+
markdown-it-py[linkify]==2.2.0 ; python_version >= "3.10" and python_version < "3.11"
|
54 |
+
markupsafe==2.1.2 ; python_version >= "3.10" and python_version < "3.11"
|
55 |
+
matplotlib==3.7.1 ; python_version >= "3.10" and python_version < "3.11"
|
56 |
+
mdit-py-plugins==0.3.3 ; python_version >= "3.10" and python_version < "3.11"
|
57 |
+
mdurl==0.1.2 ; python_version >= "3.10" and python_version < "3.11"
|
58 |
+
mpmath==1.3.0 ; python_version >= "3.10" and python_version < "3.11"
|
59 |
+
multidict==6.0.4 ; python_version >= "3.10" and python_version < "3.11"
|
60 |
+
murmurhash==1.0.9 ; python_version >= "3.10" and python_version < "3.11"
|
61 |
+
networkx==3.1 ; python_version >= "3.10" and python_version < "3.11"
|
62 |
+
newspaper3k==0.2.8 ; python_version >= "3.10" and python_version < "3.11"
|
63 |
+
nltk==3.8.1 ; python_version >= "3.10" and python_version < "3.11"
|
64 |
+
numpy==1.24.3 ; python_version >= "3.10" and python_version < "3.11"
|
65 |
+
nvidia-cublas-cu11==11.10.3.66 ; platform_system == "Linux" and platform_machine == "x86_64" and python_version >= "3.10" and python_version < "3.11"
|
66 |
+
nvidia-cuda-cupti-cu11==11.7.101 ; platform_system == "Linux" and platform_machine == "x86_64" and python_version >= "3.10" and python_version < "3.11"
|
67 |
+
nvidia-cuda-nvrtc-cu11==11.7.99 ; platform_system == "Linux" and platform_machine == "x86_64" and python_version >= "3.10" and python_version < "3.11"
|
68 |
+
nvidia-cuda-runtime-cu11==11.7.99 ; platform_system == "Linux" and platform_machine == "x86_64" and python_version >= "3.10" and python_version < "3.11"
|
69 |
+
nvidia-cudnn-cu11==8.5.0.96 ; platform_system == "Linux" and platform_machine == "x86_64" and python_version >= "3.10" and python_version < "3.11"
|
70 |
+
nvidia-cufft-cu11==10.9.0.58 ; platform_system == "Linux" and platform_machine == "x86_64" and python_version >= "3.10" and python_version < "3.11"
|
71 |
+
nvidia-curand-cu11==10.2.10.91 ; platform_system == "Linux" and platform_machine == "x86_64" and python_version >= "3.10" and python_version < "3.11"
|
72 |
+
nvidia-cusolver-cu11==11.4.0.1 ; platform_system == "Linux" and platform_machine == "x86_64" and python_version >= "3.10" and python_version < "3.11"
|
73 |
+
nvidia-cusparse-cu11==11.7.4.91 ; platform_system == "Linux" and platform_machine == "x86_64" and python_version >= "3.10" and python_version < "3.11"
|
74 |
+
nvidia-nccl-cu11==2.14.3 ; platform_system == "Linux" and platform_machine == "x86_64" and python_version >= "3.10" and python_version < "3.11"
|
75 |
+
nvidia-nvtx-cu11==11.7.91 ; platform_system == "Linux" and platform_machine == "x86_64" and python_version >= "3.10" and python_version < "3.11"
|
76 |
+
orjson==3.8.11 ; python_version >= "3.10" and python_version < "3.11"
|
77 |
+
packaging==23.1 ; python_version >= "3.10" and python_version < "3.11"
|
78 |
+
pandas==2.0.1 ; python_version >= "3.10" and python_version < "3.11"
|
79 |
+
pathy==0.10.1 ; python_version >= "3.10" and python_version < "3.11"
|
80 |
+
phonenumbers==8.13.11 ; python_version >= "3.10" and python_version < "3.11"
|
81 |
+
pillow==9.5.0 ; python_version >= "3.10" and python_version < "3.11"
|
82 |
+
preshed==3.0.8 ; python_version >= "3.10" and python_version < "3.11"
|
83 |
+
presidio-analyzer==2.2.32 ; python_version >= "3.10" and python_version < "3.11"
|
84 |
+
presidio-anonymizer==2.2.32 ; python_version >= "3.10" and python_version < "3.11"
|
85 |
+
pycryptodome==3.17 ; python_version >= "3.10" and python_version < "3.11"
|
86 |
+
pydantic==1.10.7 ; python_version >= "3.10" and python_version < "3.11"
|
87 |
+
pydub==0.25.1 ; python_version >= "3.10" and python_version < "3.11"
|
88 |
+
pygments==2.15.1 ; python_version >= "3.10" and python_version < "3.11"
|
89 |
+
pyparsing==3.0.9 ; python_version >= "3.10" and python_version < "3.11"
|
90 |
+
pyphen==0.14.0 ; python_version >= "3.10" and python_version < "3.11"
|
91 |
+
pyrsistent==0.19.3 ; python_version >= "3.10" and python_version < "3.11"
|
92 |
+
python-dateutil==2.8.2 ; python_version >= "3.10" and python_version < "3.11"
|
93 |
+
python-multipart==0.0.6 ; python_version >= "3.10" and python_version < "3.11"
|
94 |
+
pytz==2023.3 ; python_version >= "3.10" and python_version < "3.11"
|
95 |
+
pyyaml==6.0 ; python_version >= "3.10" and python_version < "3.11"
|
96 |
+
regex==2023.5.5 ; python_version >= "3.10" and python_version < "3.11"
|
97 |
+
requests-file==1.5.1 ; python_version >= "3.10" and python_version < "3.11"
|
98 |
+
requests==2.29.0 ; python_version >= "3.10" and python_version < "3.11"
|
99 |
+
scikit-learn==1.2.2 ; python_version >= "3.10" and python_version < "3.11"
|
100 |
+
scipy==1.8.1 ; python_version >= "3.10" and python_version < "3.11"
|
101 |
+
semantic-version==2.10.0 ; python_version >= "3.10" and python_version < "3.11"
|
102 |
+
setuptools==67.7.2 ; python_version >= "3.10" and python_version < "3.11"
|
103 |
+
sgmllib3k==1.0.0 ; python_version >= "3.10" and python_version < "3.11"
|
104 |
+
six==1.16.0 ; python_version >= "3.10" and python_version < "3.11"
|
105 |
+
smart-open==6.3.0 ; python_version >= "3.10" and python_version < "3.11"
|
106 |
+
sniffio==1.3.0 ; python_version >= "3.10" and python_version < "3.11"
|
107 |
+
soupsieve==2.4.1 ; python_version >= "3.10" and python_version < "3.11"
|
108 |
+
spacy-alignments==0.9.0 ; python_version >= "3.10" and python_version < "3.11"
|
109 |
+
spacy-dbpedia-spotlight==0.2.6 ; python_version >= "3.10" and python_version < "3.11"
|
110 |
+
spacy-experimental==0.6.2 ; python_version >= "3.10" and python_version < "3.11"
|
111 |
+
spacy-legacy==3.0.12 ; python_version >= "3.10" and python_version < "3.11"
|
112 |
+
spacy-loggers==1.0.4 ; python_version >= "3.10" and python_version < "3.11"
|
113 |
+
spacy-transformers==1.2.3 ; python_version >= "3.10" and python_version < "3.11"
|
114 |
+
spacy==3.5.2 ; python_version >= "3.10" and python_version < "3.11"
|
115 |
+
srsly==2.4.6 ; python_version >= "3.10" and python_version < "3.11"
|
116 |
+
starlette==0.26.1 ; python_version >= "3.10" and python_version < "3.11"
|
117 |
+
sympy==1.11.1 ; python_version >= "3.10" and python_version < "3.11"
|
118 |
+
textacy==0.12.0 ; python_version >= "3.10" and python_version < "3.11"
|
119 |
+
thinc==8.1.10 ; python_version >= "3.10" and python_version < "3.11"
|
120 |
+
threadpoolctl==3.1.0 ; python_version >= "3.10" and python_version < "3.11"
|
121 |
+
tinysegmenter==0.3 ; python_version >= "3.10" and python_version < "3.11"
|
122 |
+
tldextract==3.4.1 ; python_version >= "3.10" and python_version < "3.11"
|
123 |
+
tokenizers==0.13.3 ; python_version >= "3.10" and python_version < "3.11"
|
124 |
+
toolz==0.12.0 ; python_version >= "3.10" and python_version < "3.11"
|
125 |
+
torch==2.0.0 ; python_version >= "3.10" and python_version < "3.11"
|
126 |
+
tqdm==4.65.0 ; python_version >= "3.10" and python_version < "3.11"
|
127 |
+
transformers==4.28.1 ; python_version >= "3.10" and python_version < "3.11"
|
128 |
+
triton==2.0.0 ; platform_system == "Linux" and platform_machine == "x86_64" and python_version >= "3.10" and python_version < "3.11"
|
129 |
+
typer==0.7.0 ; python_version >= "3.10" and python_version < "3.11"
|
130 |
+
typing-extensions==4.5.0 ; python_version >= "3.10" and python_version < "3.11"
|
131 |
+
tzdata==2023.3 ; python_version >= "3.10" and python_version < "3.11"
|
132 |
+
uc-micro-py==1.0.2 ; python_version >= "3.10" and python_version < "3.11"
|
133 |
+
urllib3==1.26.15 ; python_version >= "3.10" and python_version < "3.11"
|
134 |
+
uvicorn==0.22.0 ; python_version >= "3.10" and python_version < "3.11"
|
135 |
+
wasabi==1.1.1 ; python_version >= "3.10" and python_version < "3.11"
|
136 |
+
websockets==11.0.2 ; python_version >= "3.10" and python_version < "3.11"
|
137 |
+
wheel==0.40.0 ; platform_system == "Linux" and platform_machine == "x86_64" and python_version >= "3.10" and python_version < "3.11"
|
138 |
+
win32-setctime==1.1.0 ; python_version >= "3.10" and python_version < "3.11" and sys_platform == "win32"
|
139 |
+
yarl==1.9.2 ; python_version >= "3.10" and python_version < "3.11"
|