Update app.py
Browse files
app.py
CHANGED
@@ -54,7 +54,7 @@ def greet(sentence):
|
|
54 |
sentenceLemmatized = spacy_lemmatize_text(sentenceLowered)
|
55 |
sentenceLemStopped = remove_stopwords(sentenceLemmatized, is_lower_case=False)
|
56 |
|
57 |
-
return nltk.word_tokenize(
|
58 |
|
59 |
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
60 |
iface.launch()
|
|
|
54 |
sentenceLemmatized = spacy_lemmatize_text(sentenceLowered)
|
55 |
sentenceLemStopped = remove_stopwords(sentenceLemmatized, is_lower_case=False)
|
56 |
|
57 |
+
return nltk.word_tokenize(sentenceLemStopped)
|
58 |
|
59 |
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
60 |
iface.launch()
|