Update app.py
Browse files
app.py
CHANGED
@@ -2,6 +2,7 @@ import torch
|
|
2 |
import os
|
3 |
print(f"Is CUDA available: {torch.cuda.is_available()}")
|
4 |
print(f"CUDA device: {torch.cuda.get_device_name(torch.cuda.current_device())}")
|
|
|
5 |
try:
|
6 |
import detectron2
|
7 |
except:
|
|
|
2 |
import os
|
3 |
print(f"Is CUDA available: {torch.cuda.is_available()}")
|
4 |
print(f"CUDA device: {torch.cuda.get_device_name(torch.cuda.current_device())}")
|
5 |
+
os.system("rm -r /home/user/app/gradio_cached_examples/1")
|
6 |
try:
|
7 |
import detectron2
|
8 |
except:
|