Mhassanen commited on
Commit
5adddab
·
verified ·
1 Parent(s): 76c1066

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -9,8 +9,8 @@ longformer_model = AutoModelForSequenceClassification.from_pretrained("RREEM-ALR
9
  longformer_tokenizer = AutoTokenizer.from_pretrained("allenai/longformer-base-4096")
10
 
11
  # Load BERT model and tokenizer
12
- bert_model = AutoModelForSequenceClassification.from_pretrained("bert-base-uncased")
13
- bert_tokenizer = AutoTokenizer.from_pretrained("bert-base-uncased")
14
 
15
  # Function to extract text from PDF
16
  def extract_text_from_pdf(file_path):
 
9
  longformer_tokenizer = AutoTokenizer.from_pretrained("allenai/longformer-base-4096")
10
 
11
  # Load BERT model and tokenizer
12
+ bert_model = AutoModelForSequenceClassification.from_pretrained("Mhassanen/bert-class-test")
13
+ bert_tokenizer = AutoTokenizer.from_pretrained("Mhassanen/bert-class-test")
14
 
15
  # Function to extract text from PDF
16
  def extract_text_from_pdf(file_path):