Spaces:
Runtime error
Runtime error
Elvan Selvano
commited on
Commit
β’
b23b643
1
Parent(s):
85a9275
Add badges
Browse files
app.py
CHANGED
@@ -81,10 +81,15 @@ def show_aggrid_table(result: pd.DataFrame):
|
|
81 |
def main():
|
82 |
"""Main Function"""
|
83 |
st.title('@ecommurz Talent Search Engine')
|
84 |
-
st.markdown(
|
85 |
-
|
86 |
-
|
87 |
-
|
|
|
|
|
|
|
|
|
|
|
88 |
st.write('This app lets you search and sort talent by job title or relevant job descriptions from ecommurz talent list in real-time.')
|
89 |
|
90 |
columns = ['Timestamp', 'Full Name', 'Company', 'Previous Role',
|
@@ -102,17 +107,17 @@ def main():
|
|
102 |
data['LinkedIn Profile'])
|
103 |
|
104 |
|
105 |
-
model = load_model()
|
106 |
-
corpus_embeddings = create_embedding(model, data, 'Previous Role')
|
107 |
|
108 |
-
job_title = st.text_input('Insert the job title below:', '')
|
109 |
-
submitted = st.button('Submit')
|
110 |
|
111 |
-
if submitted:
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
|
117 |
if __name__ == '__main__':
|
118 |
main()
|
|
|
81 |
def main():
|
82 |
"""Main Function"""
|
83 |
st.title('@ecommurz Talent Search Engine')
|
84 |
+
st.markdown('''
|
85 |
+
<div align="left">
|
86 |
+
|
87 |
+
[![Maintainer](https://img.shields.io/badge/maintainer-temandata-blue)](https://temandata.com/)
|
88 |
+
[![Open Source? Yes!](https://badgen.net/badge/Open%20Source%20%3F/Yes%21/blue?icon=github)](https://github.com/teman-data/ecommurz-talent-search-engine)
|
89 |
+
![visitor badge](https://visitor-badge.glitch.me/badge?page_id=temandata_ecommurz-talent-search-engine)
|
90 |
+
|
91 |
+
</div>
|
92 |
+
''', unsafe_allow_html=True)
|
93 |
st.write('This app lets you search and sort talent by job title or relevant job descriptions from ecommurz talent list in real-time.')
|
94 |
|
95 |
columns = ['Timestamp', 'Full Name', 'Company', 'Previous Role',
|
|
|
107 |
data['LinkedIn Profile'])
|
108 |
|
109 |
|
110 |
+
# model = load_model()
|
111 |
+
# corpus_embeddings = create_embedding(model, data, 'Previous Role')
|
112 |
|
113 |
+
# job_title = st.text_input('Insert the job title below:', '')
|
114 |
+
# submitted = st.button('Submit')
|
115 |
|
116 |
+
# if submitted:
|
117 |
+
# st.info(f'Showing results for {job_title}')
|
118 |
+
# result = get_similarity_score(model, data, job_title, corpus_embeddings)
|
119 |
+
# result = result[columns]
|
120 |
+
# show_aggrid_table(result)
|
121 |
|
122 |
if __name__ == '__main__':
|
123 |
main()
|