Spaces:
Runtime error
Runtime error
Commit
·
1dbb181
1
Parent(s):
f91af0c
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,6 @@ from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
|
|
2 |
import pickle
|
3 |
|
4 |
|
5 |
-
device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
|
6 |
checkpoint = "my_t5.sav"
|
7 |
|
8 |
#load model from drive
|
|
|
2 |
import pickle
|
3 |
|
4 |
|
|
|
5 |
checkpoint = "my_t5.sav"
|
6 |
|
7 |
#load model from drive
|