bushra1dajam commited on
Commit
6513e11
·
verified ·
1 Parent(s): 74c3c7f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -33,7 +33,7 @@ with open('svm_model.pkl', 'rb') as f:
33
 
34
 
35
  model = AutoModelForSeq2SeqLM.from_pretrained("AraBART/model")
36
- tokenizer = tokenizer = BartTokenizer.from_pretrained('AraBART/model')
37
 
38
 
39
  device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
 
33
 
34
 
35
  model = AutoModelForSeq2SeqLM.from_pretrained("AraBART/model")
36
+ tokenizer = tokenizer = AutoTokenizer.from_pretrained('AraBART/model')
37
 
38
 
39
  device = torch.device("cuda" if torch.cuda.is_available() else "cpu")