Update app.py
Browse files
app.py
CHANGED
|
@@ -18,7 +18,7 @@ from fastT5 import export_and_get_onnx_model
|
|
| 18 |
device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
|
| 19 |
|
| 20 |
T5_tokenizer = AutoTokenizer.from_pretrained("jaimin/T5-Large")
|
| 21 |
-
T5_model = export_and_get_onnx_model('jaimin/T5-
|
| 22 |
|
| 23 |
|
| 24 |
|
|
|
|
| 18 |
device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
|
| 19 |
|
| 20 |
T5_tokenizer = AutoTokenizer.from_pretrained("jaimin/T5-Large")
|
| 21 |
+
T5_model = export_and_get_onnx_model('jaimin/T5-Large')
|
| 22 |
|
| 23 |
|
| 24 |
|