Corran commited on
Commit
2e1bb0e
1 Parent(s): 9d9ee21

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -39,7 +39,6 @@ def getqna(input):
39
  answer= get_answer(input,10,10)[random.randint(0, 9)]
40
  else:
41
  sentences=[get_answer(sentence,10,10)[random.randint(0, 9)] for sentence in input]
42
- random.shuffle(sentences)
43
  answer= " ".join(sentences)
44
  answer= get_answer(answer,10,10)[random.randint(0, 9)]
45
  question= get_question(answer, input).replace("<pad>","").replace("</s>","")
 
39
  answer= get_answer(input,10,10)[random.randint(0, 9)]
40
  else:
41
  sentences=[get_answer(sentence,10,10)[random.randint(0, 9)] for sentence in input]
 
42
  answer= " ".join(sentences)
43
  answer= get_answer(answer,10,10)[random.randint(0, 9)]
44
  question= get_question(answer, input).replace("<pad>","").replace("</s>","")