malper commited on
Commit
fc3d76a
1 Parent(s): d4acaf4

rm newline normalization

Browse files
Files changed (1) hide show
  1. app.py +0 -1
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),