Spaces:
Runtime error
Runtime error
Commit
•
fb508d9
1
Parent(s):
c712c56
Revert app.py
Browse files
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.
|
17 |
-
|
18 |
-
|
19 |
-
|
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 |
|