Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,7 +4,7 @@ from setfit import SetFitModel
|
|
| 4 |
model = SetFitModel.from_pretrained("nickprock/setfit-italian-hate-speech")
|
| 5 |
|
| 6 |
dictionary={0:'not-hateful',
|
| 7 |
-
1:'hateful'
|
| 8 |
|
| 9 |
|
| 10 |
def greet(text, dictionary=dictionary):
|
|
|
|
| 4 |
model = SetFitModel.from_pretrained("nickprock/setfit-italian-hate-speech")
|
| 5 |
|
| 6 |
dictionary={0:'not-hateful',
|
| 7 |
+
1:'hateful'}
|
| 8 |
|
| 9 |
|
| 10 |
def greet(text, dictionary=dictionary):
|