Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,9 +10,6 @@ import threading
|
|
| 10 |
import torch
|
| 11 |
from subprocess import getoutput
|
| 12 |
|
| 13 |
-
is_shared_ui = True if "fffiloni/MimicMotion" in os.environ['SPACE_ID'] else False
|
| 14 |
-
available_property = False if is_shared_ui else True
|
| 15 |
-
|
| 16 |
is_gpu_associated = torch.cuda.is_available()
|
| 17 |
if is_gpu_associated:
|
| 18 |
gpu_info = getoutput('nvidia-smi')
|
|
|
|
| 10 |
import torch
|
| 11 |
from subprocess import getoutput
|
| 12 |
|
|
|
|
|
|
|
|
|
|
| 13 |
is_gpu_associated = torch.cuda.is_available()
|
| 14 |
if is_gpu_associated:
|
| 15 |
gpu_info = getoutput('nvidia-smi')
|