Spaces:
Runtime error
Runtime error
Commit
·
b17b9af
1
Parent(s):
35b864c
I am done
Browse files
app.py
CHANGED
|
@@ -4,19 +4,19 @@ from generator import *
|
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
-
|
| 8 |
|
| 9 |
i = 0
|
| 10 |
|
| 11 |
|
| 12 |
text_ar = st.text_area("Enter text:")
|
| 13 |
-
col1, col2, col3 = st.beta_columns([
|
| 14 |
|
| 15 |
if(col2.button("Generate!")):
|
| 16 |
text_ar = text_ar.replace("\n"," ")
|
| 17 |
pairs = creator(text_ar)
|
| 18 |
for pair in pairs:
|
| 19 |
-
|
| 20 |
col2.success("Generated!")
|
| 21 |
with col3:
|
| 22 |
st.write(' ')
|
|
|
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
+
|
| 8 |
|
| 9 |
i = 0
|
| 10 |
|
| 11 |
|
| 12 |
text_ar = st.text_area("Enter text:")
|
| 13 |
+
col1, col2, col3 = st.beta_columns([1,1,1])
|
| 14 |
|
| 15 |
if(col2.button("Generate!")):
|
| 16 |
text_ar = text_ar.replace("\n"," ")
|
| 17 |
pairs = creator(text_ar)
|
| 18 |
for pair in pairs:
|
| 19 |
+
col2.text(pair)
|
| 20 |
col2.success("Generated!")
|
| 21 |
with col3:
|
| 22 |
st.write(' ')
|