Update app.py
Browse files
app.py
CHANGED
|
@@ -35,8 +35,8 @@ template = env.get_template('template.j2')
|
|
| 35 |
template_html = env.get_template('template_html.j2')
|
| 36 |
|
| 37 |
# crossEncoder
|
| 38 |
-
|
| 39 |
-
cross_encoder = CrossEncoder('BAAI/bge-reranker-base')
|
| 40 |
# Examples
|
| 41 |
examples = ['What is the 4 digit classification heading for Gold jewellery?',
|
| 42 |
'What is the 6 digit classification heading for Mobile phone?',
|
|
|
|
| 35 |
template_html = env.get_template('template_html.j2')
|
| 36 |
|
| 37 |
# crossEncoder
|
| 38 |
+
cross_encoder = CrossEncoder('cross-encoder/ms-marco-MiniLM-L-6-v2')
|
| 39 |
+
#cross_encoder = CrossEncoder('BAAI/bge-reranker-base')
|
| 40 |
# Examples
|
| 41 |
examples = ['What is the 4 digit classification heading for Gold jewellery?',
|
| 42 |
'What is the 6 digit classification heading for Mobile phone?',
|