rm newline normalization
Browse files
app.py
CHANGED
@@ -6,7 +6,6 @@ with st.spinner('Loading UNIKUD framework...'):
|
|
6 |
st.success('Loaded!')
|
7 |
|
8 |
text = st.text_area('Enter Hebrew text and press ctrl/command+enter to add nikud:')
|
9 |
-
text = text.replace('\r', '').replace('\n', ' ')
|
10 |
|
11 |
kwargs = {
|
12 |
'v_thresh': st.sidebar.slider("Vowel addition threshold", min_value=0., max_value=1., value=0.5),
|
|
|
6 |
st.success('Loaded!')
|
7 |
|
8 |
text = st.text_area('Enter Hebrew text and press ctrl/command+enter to add nikud:')
|
|
|
9 |
|
10 |
kwargs = {
|
11 |
'v_thresh': st.sidebar.slider("Vowel addition threshold", min_value=0., max_value=1., value=0.5),
|