feat(dependencies): added transformer model and updated spacy-streamlit
Browse files- app.py +4 -1
- requirements.txt +4 -2
app.py
CHANGED
@@ -3,7 +3,10 @@ import streamlit as st
|
|
3 |
|
4 |
st.set_page_config(layout="wide")
|
5 |
|
6 |
-
models = {
|
|
|
|
|
|
|
7 |
|
8 |
default_text = "Jóváhagyták a Netrisk terjeszkedését Ausztriában."
|
9 |
|
|
|
3 |
|
4 |
st.set_page_config(layout="wide")
|
5 |
|
6 |
+
models = {
|
7 |
+
"hu_core_news_lg": "hu_core_news_lg",
|
8 |
+
"hu_core_news_trf": "hu_core_news_trf"
|
9 |
+
}
|
10 |
|
11 |
default_text = "Jóváhagyták a Netrisk terjeszkedését Ausztriában."
|
12 |
|
requirements.txt
CHANGED
@@ -1,2 +1,4 @@
|
|
1 |
-
|
2 |
-
https://huggingface.co/huspacy/hu_core_news_lg/resolve/
|
|
|
|
|
|
1 |
+
spacy-streamlit
|
2 |
+
https://huggingface.co/huspacy/hu_core_news_lg/resolve/v0.4.2/hu_core_news_lg-any-py3-none-any.whl
|
3 |
+
https://huggingface.co/huspacy/hu_core_news_trf/resolve/v3.2.0b3/hu_core_news_trf-any-py3-none-any.whl
|
4 |
+
|