Spaces:
Sleeping
Sleeping
add app
Browse files
app.py
CHANGED
@@ -45,12 +45,11 @@ def predict(model_name, text):
|
|
45 |
function_to_apply='sigmoid'
|
46 |
)
|
47 |
print(pipe(text)[0])
|
|
|
|
|
|
|
48 |
|
49 |
-
|
50 |
-
for i in pipe(text)[0]:
|
51 |
-
output.append(i + '\t')
|
52 |
-
|
53 |
-
return output
|
54 |
|
55 |
if __name__ == '__main__':
|
56 |
exam1 = '๊ฒฝ๊ธฐ๋ ์ฑ๋จ์ ์์ ๊ตฌ ํํ3๋์ ์ฐ๋ฆฌ ๋๋ค์ผ!'
|
|
|
45 |
function_to_apply='sigmoid'
|
46 |
)
|
47 |
print(pipe(text)[0])
|
48 |
+
|
49 |
+
for result in pipe(text)[0]:
|
50 |
+
print(result)
|
51 |
|
52 |
+
return result
|
|
|
|
|
|
|
|
|
53 |
|
54 |
if __name__ == '__main__':
|
55 |
exam1 = '๊ฒฝ๊ธฐ๋ ์ฑ๋จ์ ์์ ๊ตฌ ํํ3๋์ ์ฐ๋ฆฌ ๋๋ค์ผ!'
|