Spaces:
Runtime error
Runtime error
change model
Browse files
main.py
CHANGED
@@ -6,7 +6,7 @@ from transformer import transformer
|
|
6 |
|
7 |
import sys
|
8 |
|
9 |
-
hate_speech_model = model.load_hugging_face_model('
|
10 |
hate_speech_dataset = dataset.load_dataset('data_clean.csv')
|
11 |
tfidf = transformer.create_tfidf(hate_speech_dataset, 'Tweet', 'U')
|
12 |
|
|
|
6 |
|
7 |
import sys
|
8 |
|
9 |
+
hate_speech_model = model.load_hugging_face_model('model_rf.pkl')
|
10 |
hate_speech_dataset = dataset.load_dataset('data_clean.csv')
|
11 |
tfidf = transformer.create_tfidf(hate_speech_dataset, 'Tweet', 'U')
|
12 |
|