Spaces:
Build error
Build error
Add check_status.py
Browse files- check_status.py +10 -0
check_status.py
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python3
|
| 2 |
+
import sys
|
| 3 |
+
from huggingface_hub import HfApi
|
| 4 |
+
|
| 5 |
+
api = HfApi()
|
| 6 |
+
space_info = api.space_info(repo_id='paijo77/openclaw-army-node-2')
|
| 7 |
+
print(f"Space Runtime: {space_info.runtime.stage}")
|
| 8 |
+
if space_info.runtime.stage == 'RUNNING':
|
| 9 |
+
print("\n✅ Space is RUNNING! Check logs for pairing code.")
|
| 10 |
+
print(" Visit: https://huggingface.co/spaces/paijo77/openclaw-army-node-2/-/settings")
|