Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -4,6 +4,10 @@ import torch
|
|
4 |
from threading import Thread
|
5 |
import os
|
6 |
|
|
|
|
|
|
|
|
|
7 |
# Cargar el token de Hugging Face desde los secretos
|
8 |
token = os.environ.get("HF_TOKEN")
|
9 |
|
|
|
4 |
from threading import Thread
|
5 |
import os
|
6 |
|
7 |
+
import torch
|
8 |
+
print("CUDA available:", torch.cuda.is_available())
|
9 |
+
print("CUDA version:", torch.version.cuda)
|
10 |
+
|
11 |
# Cargar el token de Hugging Face desde los secretos
|
12 |
token = os.environ.get("HF_TOKEN")
|
13 |
|