Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -10,8 +10,7 @@ import threading
|
|
10 |
import torch
|
11 |
from subprocess import getoutput
|
12 |
|
13 |
-
is_shared_ui = False
|
14 |
-
# is_shared_ui = True if "fffiloni/MimicMotion" in os.environ['SPACE_ID'] else False
|
15 |
available_property = False if is_shared_ui else True
|
16 |
|
17 |
is_gpu_associated = torch.cuda.is_available()
|
|
|
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()
|