kernelmachine commited on
Commit
ba5e2ec
·
1 Parent(s): 45d5906
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -53,7 +53,7 @@ def score(x, clf, vectorizer):
53
 
54
  def start(text):
55
  # print('yaya')
56
- # clf, vectorizer = load_model("model/")
57
- return 'hello '+ text
58
- # k = round(score(text, clf, vectorizer)[0][1], 2)
59
- # return {"GPT-3 Filter Quality Score": k }
 
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 }