Update pages/3_Earnings_Semantic_Search_π_.py
Browse files
pages/3_Earnings_Semantic_Search_π_.py
CHANGED
@@ -9,7 +9,7 @@ def gen_sentiment(text):
|
|
9 |
'''Generate sentiment of given text'''
|
10 |
return sent_pipe(text)[0]['label']
|
11 |
|
12 |
-
bi_enc_options = ["multi-qa-mpnet-base-dot-v1","all-MiniLM-
|
13 |
|
14 |
search_input = st.text_input(
|
15 |
label='Enter Your Search Query',value= "What key challenges did the business face?", key='search')
|
|
|
9 |
'''Generate sentiment of given text'''
|
10 |
return sent_pipe(text)[0]['label']
|
11 |
|
12 |
+
bi_enc_options = ["multi-qa-mpnet-base-dot-v1","all-MiniLM-L12-v2","all-mpnet-base-v2"]
|
13 |
|
14 |
search_input = st.text_input(
|
15 |
label='Enter Your Search Query',value= "What key challenges did the business face?", key='search')
|