Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ api = HfApi()
|
|
12 |
|
13 |
hf_token = os.environ.get("HF_TOKEN_WITH_WRITE_PERMISSION")
|
14 |
|
15 |
-
is_shared_ui = True if "fffiloni/
|
16 |
|
17 |
is_gpu_associated = torch.cuda.is_available()
|
18 |
|
|
|
12 |
|
13 |
hf_token = os.environ.get("HF_TOKEN_WITH_WRITE_PERMISSION")
|
14 |
|
15 |
+
is_shared_ui = True if "fffiloni/B-LoRa-trainer" in os.environ['SPACE_ID'] else False
|
16 |
|
17 |
is_gpu_associated = torch.cuda.is_available()
|
18 |
|