aideveloper24 commited on
Commit
4340cc8
·
verified ·
1 Parent(s): 8de8485

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ def load_model():
15
  try:
16
  print("Loading model and tokenizer...")
17
  # Use a different model (bert-base-uncased)
18
- MODEL_NAME = "bert-base-uncased" # You can replace this with your own fine-tuned model
19
 
20
  # Load tokenizer and model from Hugging Face Hub or a local path
21
  global_tokenizer = BertTokenizer.from_pretrained(MODEL_NAME)
 
15
  try:
16
  print("Loading model and tokenizer...")
17
  # Use a different model (bert-base-uncased)
18
+ MODEL_NAME = "bert-base-uncased" # Switch to this model
19
 
20
  # Load tokenizer and model from Hugging Face Hub or a local path
21
  global_tokenizer = BertTokenizer.from_pretrained(MODEL_NAME)