Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -23,11 +23,11 @@ def binary_classification(input):
|
|
23 |
model = pipeline(model='gokceuludogan/berturk_tr_hate_print_w0.1', token=token)
|
24 |
return model(input)[0]
|
25 |
|
26 |
-
def category_classification():
|
27 |
model = pipeline(model='gokceuludogan/berturk/tr_hateprint_cat_w0.1_b128', token=token)
|
28 |
return model(input)[0]
|
29 |
|
30 |
-
def target_detection():
|
31 |
model = pipeline(model='gokceuludogan/turna_generation_tr_hateprint_target', token=token)
|
32 |
return model(input)[0]
|
33 |
|
|
|
23 |
model = pipeline(model='gokceuludogan/berturk_tr_hate_print_w0.1', token=token)
|
24 |
return model(input)[0]
|
25 |
|
26 |
+
def category_classification(input):
|
27 |
model = pipeline(model='gokceuludogan/berturk/tr_hateprint_cat_w0.1_b128', token=token)
|
28 |
return model(input)[0]
|
29 |
|
30 |
+
def target_detection(input):
|
31 |
model = pipeline(model='gokceuludogan/turna_generation_tr_hateprint_target', token=token)
|
32 |
return model(input)[0]
|
33 |
|