Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -29,7 +29,7 @@ with st.spinner("Please wait..."):
|
|
29 |
|
30 |
#Modelo QA sentence similarity
|
31 |
modelPath = 'sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2' #español
|
32 |
-
model_kwargs = {'device':'
|
33 |
encode_kwargs = {'normalize_embeddings': False}
|
34 |
|
35 |
#Embeddings que transforman a vectores densos multidimensionales las preguntas del SII
|
|
|
29 |
|
30 |
#Modelo QA sentence similarity
|
31 |
modelPath = 'sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2' #español
|
32 |
+
model_kwargs = {'device':'cpu'} # cuda or cpu
|
33 |
encode_kwargs = {'normalize_embeddings': False}
|
34 |
|
35 |
#Embeddings que transforman a vectores densos multidimensionales las preguntas del SII
|