Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,6 @@ from transformers import T5Tokenizer, T5ForConditionalGeneration
|
|
4 |
import torch
|
5 |
|
6 |
print(f"Is CUDA available: {torch.cuda.is_available()}")
|
7 |
-
print(f"CUDA device: {torch.cuda.get_device_name(torch.cuda.current_device())}")
|
8 |
|
9 |
# Load the model and tokenizer
|
10 |
model_name = "kiansheik/tupi-verb-anotation"
|
|
|
4 |
import torch
|
5 |
|
6 |
print(f"Is CUDA available: {torch.cuda.is_available()}")
|
|
|
7 |
|
8 |
# Load the model and tokenizer
|
9 |
model_name = "kiansheik/tupi-verb-anotation"
|