Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -92,8 +92,8 @@ def predict_text(model, sentence):
|
|
| 92 |
output = model(input_id, mask)
|
| 93 |
|
| 94 |
categories = {
|
| 95 |
-
0: '
|
| 96 |
-
1: '
|
| 97 |
}
|
| 98 |
|
| 99 |
# Kategorik sınıfı döndür.
|
|
|
|
| 92 |
output = model(input_id, mask)
|
| 93 |
|
| 94 |
categories = {
|
| 95 |
+
0: 'ZARARSIZ',
|
| 96 |
+
1: 'ZARARLI',
|
| 97 |
}
|
| 98 |
|
| 99 |
# Kategorik sınıfı döndür.
|