RohitGuptaAI commited on
Commit
b01ccca
·
1 Parent(s): ad45d79

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -56,8 +56,8 @@ def check_by_url(txt_url):
56
  normalized_content_with_style += normalized_content_without_style
57
  new_data = {"title": title, "content": normalized_content_with_style}
58
 
59
- model = DistilBertForSequenceClassification.from_pretrained(Save_model)
60
- tokenizer = DistilBertTokenizer.from_pretrained(Save_model)
61
 
62
  test_encodings = tokenizer.encode_plus(
63
  title,
 
56
  normalized_content_with_style += normalized_content_without_style
57
  new_data = {"title": title, "content": normalized_content_with_style}
58
 
59
+ model = DistilBertForSequenceClassification.from_pretrained(".")
60
+ tokenizer = DistilBertTokenizer.from_pretrained(".")
61
 
62
  test_encodings = tokenizer.encode_plus(
63
  title,