Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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
|