RohitGuptaAI commited on
Commit
39c76a5
·
1 Parent(s): 47616df

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -64,10 +64,10 @@ def check_by_url(txt_url):
64
  normalized_content_with_style += normalized_content_without_style
65
  new_data = {"title": title, "content": normalized_content_with_style}
66
 
67
- Save_model = "/content/G:\Model_SAVE" # Replace with your saved model name
68
 
69
- model = DistilBertForSequenceClassification.from_pretrained(Save_model)
70
- tokenizer = DistilBertTokenizer.from_pretrained(Save_model)
71
 
72
  test_encodings = tokenizer.encode_plus(
73
  title,
 
64
  normalized_content_with_style += normalized_content_without_style
65
  new_data = {"title": title, "content": normalized_content_with_style}
66
 
67
+ #Save_model = "/content/G:\Model_SAVE" # Replace with your saved model name
68
 
69
+ model = DistilBertForSequenceClassification.from_pretrained(".")
70
+ tokenizer = DistilBertTokenizer.from_pretrained(".")
71
 
72
  test_encodings = tokenizer.encode_plus(
73
  title,