Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ use_cuda = torch.cuda.is_available()
|
|
20 |
if use_zero_gpu:
|
21 |
spaces_version = version("spaces")
|
22 |
print("ZeroGPU is available, changing inference call.")
|
23 |
-
|
24 |
spaces_version = "N/A"
|
25 |
print("ZeroGPU is not available, skipping...")
|
26 |
|
|
|
20 |
if use_zero_gpu:
|
21 |
spaces_version = version("spaces")
|
22 |
print("ZeroGPU is available, changing inference call.")
|
23 |
+
else:
|
24 |
spaces_version = "N/A"
|
25 |
print("ZeroGPU is not available, skipping...")
|
26 |
|