changed default value of split sentences
Browse files
app.py
CHANGED
@@ -100,7 +100,7 @@ left, right = st.columns([4, 2])
|
|
100 |
inputs = left.text_area('', max_chars=4096, value='This is a space about multiclass emotion classification. Write '
|
101 |
'something here to see what happens!')
|
102 |
model_path = right.selectbox('', options=[k for k in ids], index=0, help='Model to use. ')
|
103 |
-
split = right.checkbox('Split into sentences')
|
104 |
model = load_model(model_path=f"model/{model_path}.pt")
|
105 |
right.write(model.device)
|
106 |
|
|
|
100 |
inputs = left.text_area('', max_chars=4096, value='This is a space about multiclass emotion classification. Write '
|
101 |
'something here to see what happens!')
|
102 |
model_path = right.selectbox('', options=[k for k in ids], index=0, help='Model to use. ')
|
103 |
+
split = right.checkbox('Split into sentences', value=True)
|
104 |
model = load_model(model_path=f"model/{model_path}.pt")
|
105 |
right.write(model.device)
|
106 |
|