crimson78 commited on
Commit
271f25e
·
verified ·
1 Parent(s): 7505f36

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ import torch
4
  from transformers import BertTokenizer, BertForSequenceClassification
5
 
6
  # Load the model and tokenizer from Hugging Face
7
- model_name = "crimson78/spam_classifier" # Replace with your model's actual name
8
  tokenizer = BertTokenizer.from_pretrained(model_name)
9
  model = BertForSequenceClassification.from_pretrained(model_name)
10
 
 
4
  from transformers import BertTokenizer, BertForSequenceClassification
5
 
6
  # Load the model and tokenizer from Hugging Face
7
+ model_name = "crimson78/spam_classifier_models" # Replace with your model's actual name
8
  tokenizer = BertTokenizer.from_pretrained(model_name)
9
  model = BertForSequenceClassification.from_pretrained(model_name)
10