CountingMstar commited on
Commit
07b9593
1 Parent(s): f3f4033

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -24,7 +24,7 @@ def question_answer(context, question):
24
  return prediction
25
 
26
  def split(text):
27
- words = word_tokenize(text)
28
  # context, question = '', ''
29
  # act = False
30
 
@@ -41,7 +41,7 @@ def split(text):
41
 
42
  # context = context[:-1]
43
  # question = question[1:-1]
44
- return text, words
45
 
46
  # def greet(texts):
47
  # context, question = split(texts)
 
24
  return prediction
25
 
26
  def split(text):
27
+ # words = word_tokenize(text)
28
  # context, question = '', ''
29
  # act = False
30
 
 
41
 
42
  # context = context[:-1]
43
  # question = question[1:-1]
44
+ return text, text
45
 
46
  # def greet(texts):
47
  # context, question = split(texts)