kithangw commited on
Commit
2bf8a61
1 Parent(s): 9f55aac

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ import torch
7
  def load_models():
8
  # Make sure to use the correct model names and tokenizer
9
  image_pipeline = pipeline("image-to-text", model="microsoft/trocr-large-printed")
10
- phishing_model = AutoModelForSequenceClassification.from_pretrained("kithangw/phishing_link_detection", num_labels=2)
11
  phishing_tokenizer = AutoTokenizer.from_pretrained("bert-base-uncased")
12
  return image_pipeline, phishing_model, phishing_tokenizer
13
 
 
7
  def load_models():
8
  # Make sure to use the correct model names and tokenizer
9
  image_pipeline = pipeline("image-to-text", model="microsoft/trocr-large-printed")
10
+ phishing_model = AutoModelForSequenceClassification.from_pretrained("kithangw/phishing_link_detection1", num_labels=2)
11
  phishing_tokenizer = AutoTokenizer.from_pretrained("bert-base-uncased")
12
  return image_pipeline, phishing_model, phishing_tokenizer
13