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("AraBART/model")
|
36 |
-
tokenizer = tokenizer =
|
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")
|