Spaces:
Sleeping
Sleeping
bushra1dajam
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -33,7 +33,7 @@ with open('svm_model.pkl', 'rb') as f:
|
|
33 |
|
34 |
|
35 |
model = AutoModelForSeq2SeqLM.from_pretrained("AraT5/model")
|
36 |
-
tokenizer = BartTokenizer.from_pretrained('
|
37 |
|
38 |
|
39 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
|
|
33 |
|
34 |
|
35 |
model = AutoModelForSeq2SeqLM.from_pretrained("AraT5/model")
|
36 |
+
tokenizer = BartTokenizer.from_pretrained('AraT5/tokenizer')
|
37 |
|
38 |
|
39 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|