Spaces:
Runtime error
Runtime error
Marvin M. Agüero-Torales
commited on
Commit
·
7fa4e7e
1
Parent(s):
74fa41c
Update app.py
Browse files
app.py
CHANGED
|
@@ -16,7 +16,7 @@ def hash_func(inp):
|
|
| 16 |
|
| 17 |
@st.cache(allow_output_mutation=True, suppress_st_warning=True)
|
| 18 |
def loading_models(model='roberta-base'):
|
| 19 |
-
return get_model(model), SentenceTransformer('
|
| 20 |
|
| 21 |
@st.cache(allow_output_mutation=True,
|
| 22 |
suppress_st_warning=True,
|
|
|
|
| 16 |
|
| 17 |
@st.cache(allow_output_mutation=True, suppress_st_warning=True)
|
| 18 |
def loading_models(model='roberta-base'):
|
| 19 |
+
return get_model(model), SentenceTransformer('all-mpnet-base-v2')#'all-MiniLM-L6-v2')
|
| 20 |
|
| 21 |
@st.cache(allow_output_mutation=True,
|
| 22 |
suppress_st_warning=True,
|