fffiloni commited on
Commit
3220409
β€’
1 Parent(s): 0455b9a

Update gradio_app.py

Browse files
Files changed (1) hide show
  1. gradio_app.py +1 -1
gradio_app.py CHANGED
@@ -7,7 +7,7 @@ os.makedirs(result_dir, exist_ok=True)
7
 
8
  is_shared_ui = True if "fffiloni/Paints-UNDO" in os.environ['SPACE_ID'] else False
9
 
10
- is_gpu_associated = torch.cuda.is_available() else False
11
 
12
  import subprocess
13
  from subprocess import getoutput
 
7
 
8
  is_shared_ui = True if "fffiloni/Paints-UNDO" in os.environ['SPACE_ID'] else False
9
 
10
+ is_gpu_associated = torch.cuda.is_available()
11
 
12
  import subprocess
13
  from subprocess import getoutput