Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -18,8 +18,8 @@ def load_model(model_name):
|
|
18 |
|
19 |
|
20 |
def inference(prompt):
|
21 |
-
model_name = "Unggi/hate_speech_bert"
|
22 |
-
|
23 |
model, tokenizer = load_model(
|
24 |
model_name = model_name
|
25 |
)
|
|
|
18 |
|
19 |
|
20 |
def inference(prompt):
|
21 |
+
model_name = "Unggi/ko_hate_speech_KcELECTRA" #"Unggi/hate_speech_bert"
|
22 |
+
|
23 |
model, tokenizer = load_model(
|
24 |
model_name = model_name
|
25 |
)
|