vinayakdev commited on
Commit
acd8864
1 Parent(s): f29fbc7

Update app debase later

Browse files
Files changed (1) hide show
  1. app.py +5 -3
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
- pairs = creator(text_ar)
13
- for pair in pairs:
 
 
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