vinayakdev commited on
Commit
fb508d9
1 Parent(s): c712c56

Revert app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -6
app.py CHANGED
@@ -13,12 +13,10 @@ text_ar = st.text_area("Enter text:")
13
  col1, col2, col3 = st.columns([2,1,2])
14
 
15
  if(col2.button("Generate!")):
16
- text_ar = text_ar.split("\n\n")
17
- for text in text_ar:
18
- text.replace("\n"," ")
19
- pairs = creator(text)
20
- for pair in pairs:
21
- st.text(pair)
22
  st.balloons()
23
 
24
 
 
13
  col1, col2, col3 = st.columns([2,1,2])
14
 
15
  if(col2.button("Generate!")):
16
+ text_ar = text_ar.replace("\n"," ")
17
+ pairs = creator(text_ar)
18
+ for pair in pairs:
19
+ st.text(pair)
 
 
20
  st.balloons()
21
 
22