Yehor commited on
Commit
18fee24
·
verified ·
1 Parent(s): 481a579

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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
- except PackageNotFoundError:
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