hariharan220 commited on
Commit
9e8ba40
Β·
verified Β·
1 Parent(s): db743ff

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -19,12 +19,10 @@ print("πŸ”„ Authenticating with Hugging Face...")
19
 
20
  # βœ… Load the model with authentication
21
  model = BertForSequenceClassification.from_pretrained(
22
- MODEL_PATH,
23
- token=HF_API_KEY # Explicit authentication
24
  )
25
  tokenizer = AutoTokenizer.from_pretrained(
26
- MODEL_PATH,
27
- token=HF_API_KEY # Explicit authentication
28
  )
29
 
30
  print("βœ… Model Loaded Successfully!")
 
19
 
20
  # βœ… Load the model with authentication
21
  model = BertForSequenceClassification.from_pretrained(
22
+ MODEL_PATH
 
23
  )
24
  tokenizer = AutoTokenizer.from_pretrained(
25
+ MODEL_PATH
 
26
  )
27
 
28
  print("βœ… Model Loaded Successfully!")