Spaces:
Sleeping
Sleeping
add app
Browse files
app.py
CHANGED
@@ -46,7 +46,7 @@ def predict(model_name, text):
|
|
46 |
)
|
47 |
output = []
|
48 |
for result in pipe(text)[0]:
|
49 |
-
output.append(result+'\n')
|
50 |
return output
|
51 |
|
52 |
if __name__ == '__main__':
|
|
|
46 |
)
|
47 |
output = []
|
48 |
for result in pipe(text)[0]:
|
49 |
+
output.append(str(result)+'\n')
|
50 |
return output
|
51 |
|
52 |
if __name__ == '__main__':
|