Spaces:
Paused
Paused
Download worker.py from Timo123432345443/CPU: direct link, hf CLI and curl.
- Browser
- Download file 286 Bytes
-
https://huggingface.co/spaces/Timo123432345443/CPU/resolve/main/worker.py
- Command line
-
hf download hf://spaces/Timo123432345443/CPU/worker.py
-
curl -L -o worker.py https://huggingface.co/spaces/Timo123432345443/CPU/resolve/main/worker.py
286 Bytes
| import ray | |
| import time | |
| print("🐱 Worker startet...") | |
| try: | |
| ray.init(address="ray: https://dealtime-describe-completely-standing.trycloudflare.com") | |
| print("✅ CONNECTED!!!") | |
| except Exception as e: | |
| print("❌ FEHLER:", e) | |
| # verhindert Crash | |
| while True: | |
| time.sleep(10) |