Spaces:
Sleeping
Sleeping
madhavkotecha
commited on
Commit
•
66a377e
1
Parent(s):
135bc84
Update app.py
Browse files
app.py
CHANGED
@@ -118,7 +118,7 @@ print(predicted_tags)
|
|
118 |
|
119 |
def tagging(input):
|
120 |
tagged_list = predict_tags(input)
|
121 |
-
output = '
|
122 |
return output
|
123 |
|
124 |
|
|
|
118 |
|
119 |
def tagging(input):
|
120 |
tagged_list = predict_tags(input)
|
121 |
+
output = ''.join(f"{word}[{tag}] " for word, tag in tagged_list)
|
122 |
return output
|
123 |
|
124 |
|