Spaces:
Sleeping
Sleeping
add app
Browse files
app.py
CHANGED
@@ -45,8 +45,10 @@ def predict(model_name, text):
|
|
45 |
return_all_scores=True,
|
46 |
function_to_apply='sigmoid'
|
47 |
)
|
|
|
|
|
48 |
for i in pipe(text)[0]:
|
49 |
-
output = i + '\t'
|
50 |
|
51 |
return output
|
52 |
|
|
|
45 |
return_all_scores=True,
|
46 |
function_to_apply='sigmoid'
|
47 |
)
|
48 |
+
print(pipe(text)[0])
|
49 |
+
|
50 |
for i in pipe(text)[0]:
|
51 |
+
output = pipe(text)[0][i] + '\t'
|
52 |
|
53 |
return output
|
54 |
|