Spaces:
Running
on
Zero
Running
on
Zero
update app
Browse files
app.py
CHANGED
|
@@ -51,9 +51,7 @@ print("cuda device count:", torch.cuda.device_count())
|
|
| 51 |
if torch.cuda.is_available():
|
| 52 |
print("current device:", torch.cuda.current_device())
|
| 53 |
print("device name:", torch.cuda.get_device_name(torch.cuda.current_device()))
|
| 54 |
-
|
| 55 |
-
print("Using device:", device)
|
| 56 |
-
|
| 57 |
# --- Theme Definition ---
|
| 58 |
colors.steel_blue = colors.Color(
|
| 59 |
name="steel_blue",
|
|
|
|
| 51 |
if torch.cuda.is_available():
|
| 52 |
print("current device:", torch.cuda.current_device())
|
| 53 |
print("device name:", torch.cuda.get_device_name(torch.cuda.current_device()))
|
| 54 |
+
|
|
|
|
|
|
|
| 55 |
# --- Theme Definition ---
|
| 56 |
colors.steel_blue = colors.Color(
|
| 57 |
name="steel_blue",
|