Spaces:
Runtime error
Runtime error
Commit
·
94ffff8
1
Parent(s):
e9756a8
Update app
Browse files
app.py
CHANGED
@@ -8,8 +8,8 @@ from generator import *
|
|
8 |
text_ar = st.text_area("Enter text:")
|
9 |
|
10 |
if(st.button("Generate!")):
|
11 |
-
text_ar = text_ar.
|
12 |
-
|
13 |
for text in text_ar:
|
14 |
lis = creator(text)
|
15 |
for item in lis:
|
|
|
8 |
text_ar = st.text_area("Enter text:")
|
9 |
|
10 |
if(st.button("Generate!")):
|
11 |
+
text_ar = text_ar.replace('\n',' ')
|
12 |
+
text_ar = text_ar.split('.')
|
13 |
for text in text_ar:
|
14 |
lis = creator(text)
|
15 |
for item in lis:
|