abdullahmeda commited on
Commit
f08b7b6
·
verified ·
1 Parent(s): 31466c9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -97,7 +97,7 @@ def predict(features, classifier, id_to_label):
97
  def predict(text):
98
  with torch.no_grad():
99
  feats = gpt2_features(text, tokenizer, model, sent_cut_en)
100
- out = predict(*feats, clf, ['Human Written', 'LLM Generated'])
101
  return out
102
 
103
 
 
97
  def predict(text):
98
  with torch.no_grad():
99
  feats = gpt2_features(text, tokenizer, model, sent_cut_en)
100
+ out = predict(feats, clf, ['Human Written', 'LLM Generated'])
101
  return out
102
 
103