Spaces:
Paused
Paused
CountingMstar
commited on
Commit
•
bcdb8fb
1
Parent(s):
07b9593
Update app.py
Browse files
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
|
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()
|