Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -34,10 +34,8 @@ def fix_words(words: typing.List[str]) -> typing.List[str]:
|
|
34 |
|
35 |
fixed_words.append(word)
|
36 |
|
37 |
-
return fixed_words
|
|
|
38 |
|
39 |
-
def greet(name):
|
40 |
-
return name
|
41 |
-
|
42 |
iface = gr.Interface(fn=preprocess_text, inputs="text", outputs="text")
|
43 |
iface.launch()
|
|
|
34 |
|
35 |
fixed_words.append(word)
|
36 |
|
37 |
+
#return fixed_words
|
38 |
+
return tagger.tag(words)
|
39 |
|
|
|
|
|
|
|
40 |
iface = gr.Interface(fn=preprocess_text, inputs="text", outputs="text")
|
41 |
iface.launch()
|