Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -13,9 +13,7 @@ from datetime import datetime
|
|
| 13 |
import models
|
| 14 |
|
| 15 |
print(f"Is CUDA available: {torch.cuda.is_available()}")
|
| 16 |
-
#
|
| 17 |
-
print(f"CUDA device: {torch.cuda.get_device_name(torch.cuda.current_device())}")
|
| 18 |
-
# Tesla T4
|
| 19 |
|
| 20 |
with open("index_to_species.json", "r") as file:
|
| 21 |
index_to_species_data = file.read()
|
|
|
|
| 13 |
import models
|
| 14 |
|
| 15 |
print(f"Is CUDA available: {torch.cuda.is_available()}")
|
| 16 |
+
# print(f"CUDA device: {torch.cuda.get_device_name(torch.cuda.current_device())}")
|
|
|
|
|
|
|
| 17 |
|
| 18 |
with open("index_to_species.json", "r") as file:
|
| 19 |
index_to_species_data = file.read()
|