Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
from setfit import SetFitModel
|
3 |
|
4 |
-
model = SetFitModel.from_pretrained("setfit-italian-hate-speech")
|
5 |
|
6 |
dictionary={'0':'not-hateful',
|
7 |
'1':'hateful',}
|
|
|
1 |
import gradio as gr
|
2 |
from setfit import SetFitModel
|
3 |
|
4 |
+
model = SetFitModel.from_pretrained("nickprock/setfit-italian-hate-speech")
|
5 |
|
6 |
dictionary={'0':'not-hateful',
|
7 |
'1':'hateful',}
|