theSure commited on
Commit
7492032
·
verified ·
1 Parent(s): f2b6dcf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -17,6 +17,7 @@ from pipeline_flux_control_removal import FluxControlRemovalPipeline
17
  torch.set_grad_enabled(False)
18
  os.environ['GRADIO_TEMP_DIR'] = './tmp'
19
  device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
 
20
  image_path = mask_path = None
21
  image_examples = [...]
22
  image_path = mask_path =None
 
17
  torch.set_grad_enabled(False)
18
  os.environ['GRADIO_TEMP_DIR'] = './tmp'
19
  device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
20
+ print(device)
21
  image_path = mask_path = None
22
  image_examples = [...]
23
  image_path = mask_path =None