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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -50,7 +50,7 @@ def split(text):
50
  def greet(text):
51
  context, question = split(text)
52
  # answer = question_answer(context, question)
53
- return question
54
 
55
  iface = gr.Interface(fn=greet, inputs="text", outputs="text")
56
  iface.launch()
 
50
  def greet(text):
51
  context, question = split(text)
52
  # answer = question_answer(context, question)
53
+ return word_tokenize(text)
54
 
55
  iface = gr.Interface(fn=greet, inputs="text", outputs="text")
56
  iface.launch()