Spaces:
Running
Running
admin
commited on
Commit
·
dabf44b
1
Parent(s):
ad841e1
fix log SpaceRuntime bug
Browse files- modules/restart.py +1 -1
modules/restart.py
CHANGED
@@ -51,7 +51,7 @@ def test_hf_restart(repo: str):
|
|
51 |
repo = repo.split("/spaces/")[1].split("/")[:2]
|
52 |
repo = "/".join(repo)
|
53 |
|
54 |
-
logs = HF_API.restart_space(repo)
|
55 |
logs += f"\nSuccessfully restart {HF_DOMAIN}/spaces/{repo}\n"
|
56 |
|
57 |
except Exception as e:
|
|
|
51 |
repo = repo.split("/spaces/")[1].split("/")[:2]
|
52 |
repo = "/".join(repo)
|
53 |
|
54 |
+
logs = f"{HF_API.restart_space(repo)}"
|
55 |
logs += f"\nSuccessfully restart {HF_DOMAIN}/spaces/{repo}\n"
|
56 |
|
57 |
except Exception as e:
|