Spaces:
Runtime error
Runtime error
Commit
·
881b675
1
Parent(s):
04522f3
Testing ...
Browse files
app.py
CHANGED
|
@@ -10,14 +10,14 @@ i = 0
|
|
| 10 |
with col1 :
|
| 11 |
st.write(' ')
|
| 12 |
with col2:
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
with col3:
|
| 22 |
st.write(' ')
|
| 23 |
|
|
|
|
| 10 |
with col1 :
|
| 11 |
st.write(' ')
|
| 12 |
with col2:
|
| 13 |
+
with st.container() :
|
| 14 |
+
text_ar = st.text_area("Enter text:")
|
| 15 |
+
if(st.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.success("Generated!")
|
| 21 |
with col3:
|
| 22 |
st.write(' ')
|
| 23 |
|