Spaces:
No application file
No application file
Update app
Browse files
app
CHANGED
|
@@ -47,7 +47,7 @@ nc = st.slider('Select a number of clusters:', min_value=1, max_value=15, value=
|
|
| 47 |
|
| 48 |
model_type = st.radio("Choose model:", ('Sentence Transformer', 'Universal Sentence Encoder'), index=0)
|
| 49 |
|
| 50 |
-
# Model
|
| 51 |
if model_type == "Sentence Transformer":
|
| 52 |
model = SentenceTransformer('paraphrase-distilroberta-base-v1')
|
| 53 |
elif model_type == "Universal Sentence Encoder":
|
|
|
|
| 47 |
|
| 48 |
model_type = st.radio("Choose model:", ('Sentence Transformer', 'Universal Sentence Encoder'), index=0)
|
| 49 |
|
| 50 |
+
# Model setups
|
| 51 |
if model_type == "Sentence Transformer":
|
| 52 |
model = SentenceTransformer('paraphrase-distilroberta-base-v1')
|
| 53 |
elif model_type == "Universal Sentence Encoder":
|