Spaces:
Runtime error
Runtime error
vinayakdev
commited on
Commit
•
acd8864
1
Parent(s):
f29fbc7
Update app debase later
Browse files
app.py
CHANGED
@@ -8,9 +8,11 @@ from generator import *
|
|
8 |
text_ar = st.text_area("Enter text:")
|
9 |
|
10 |
if(st.button("Generate!")):
|
11 |
-
text_ar = text_ar.replace("\n"," ")
|
12 |
-
|
13 |
-
for
|
|
|
|
|
14 |
st.text(pair)
|
15 |
|
16 |
|
|
|
8 |
text_ar = st.text_area("Enter text:")
|
9 |
|
10 |
if(st.button("Generate!")):
|
11 |
+
text_ar = text_ar.replace("\n"," ").split('.')
|
12 |
+
questions=[]
|
13 |
+
for pairs in text_ar:
|
14 |
+
questions.append(creator(text_ar))
|
15 |
+
for pair in questions:
|
16 |
st.text(pair)
|
17 |
|
18 |
|