Spaces:
Runtime error
Runtime error
vinayakdev
commited on
Commit
•
f6aae11
1
Parent(s):
881b675
Update app.py
Browse files
app.py
CHANGED
@@ -10,14 +10,13 @@ i = 0
|
|
10 |
with col1 :
|
11 |
st.write(' ')
|
12 |
with col2:
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
st.success("Generated!")
|
21 |
with col3:
|
22 |
st.write(' ')
|
23 |
|
|
|
10 |
with col1 :
|
11 |
st.write(' ')
|
12 |
with col2:
|
13 |
+
text_ar = st.text_area("Enter text:")
|
14 |
+
if(st.button("Generate!")):
|
15 |
+
text_ar = text_ar.replace("\n"," ")
|
16 |
+
pairs = creator(text_ar)
|
17 |
+
for pair in pairs:
|
18 |
+
st.text(pair)
|
19 |
+
st.success("Generated!")
|
|
|
20 |
with col3:
|
21 |
st.write(' ')
|
22 |
|