Spaces:
Runtime error
Runtime error
Commit
·
ba5e2ec
1
Parent(s):
45d5906
update
Browse files
app.py
CHANGED
@@ -53,7 +53,7 @@ def score(x, clf, vectorizer):
|
|
53 |
|
54 |
def start(text):
|
55 |
# print('yaya')
|
56 |
-
|
57 |
-
return 'hello
|
58 |
-
|
59 |
-
|
|
|
53 |
|
54 |
def start(text):
|
55 |
# print('yaya')
|
56 |
+
clf, vectorizer = load_model("model/")
|
57 |
+
# return 'hello'
|
58 |
+
k = round(score(text, clf, vectorizer)[0][1], 2)
|
59 |
+
return {"GPT-3 Filter Quality Score": k }
|