Spaces:
Sleeping
Sleeping
Commit
•
b53e9b8
1
Parent(s):
176bc83
Update app/Top2Vec.py
Browse files- app/Top2Vec.py +5 -2
app/Top2Vec.py
CHANGED
@@ -5,9 +5,10 @@ from utilities import initialization
|
|
5 |
st.set_page_config(page_title="Top2Vec", layout="wide")
|
6 |
initialization()
|
7 |
|
8 |
-
|
|
|
9 |
st.markdown(
|
10 |
-
"""
|
11 |
# Introduction
|
12 |
This is [space](https://huggingface.co/spaces) dedicated to using [top2vec](https://github.com/ddangelov/Top2Vec) and showing what features are available for semantic searching and topic modeling.
|
13 |
Please check out this [readme](https://github.com/ddangelov/Top2Vec#how-does-it-work) to better understand how it works.
|
@@ -26,5 +27,7 @@ st.markdown(
|
|
26 |
- The [Topic Explorer](/Topic_Explorer) page to understand what topic were detected
|
27 |
- The [Document Explorer](/Document_Explorer) page to visually explore documents
|
28 |
- The [Semantic Search](/Semantic_Search) page to search by meaning
|
|
|
|
|
29 |
"""
|
30 |
)
|
|
|
5 |
st.set_page_config(page_title="Top2Vec", layout="wide")
|
6 |
initialization()
|
7 |
|
8 |
+
vb_link = 'https://visitor-badge.glitch.me/badge?page_id=demo-org.Top2Vec&left_color=gray&right_color=blue'
|
9 |
+
visitor_badge = f"![Total Visitors]({vb_link})"
|
10 |
st.markdown(
|
11 |
+
f"""
|
12 |
# Introduction
|
13 |
This is [space](https://huggingface.co/spaces) dedicated to using [top2vec](https://github.com/ddangelov/Top2Vec) and showing what features are available for semantic searching and topic modeling.
|
14 |
Please check out this [readme](https://github.com/ddangelov/Top2Vec#how-does-it-work) to better understand how it works.
|
|
|
27 |
- The [Topic Explorer](/Topic_Explorer) page to understand what topic were detected
|
28 |
- The [Document Explorer](/Document_Explorer) page to visually explore documents
|
29 |
- The [Semantic Search](/Semantic_Search) page to search by meaning
|
30 |
+
|
31 |
+
{visitor_badge}
|
32 |
"""
|
33 |
)
|