Spaces:
Running
Running
Download entrypoint.sh from RYUK999/TeleBotDown: direct link, hf CLI and curl.
- Browser
- Download file 301 Bytes
-
https://huggingface.co/spaces/RYUK999/TeleBotDown/resolve/main/entrypoint.sh
- Command line
-
hf download hf://spaces/RYUK999/TeleBotDown/entrypoint.sh
-
curl -L -o entrypoint.sh https://huggingface.co/spaces/RYUK999/TeleBotDown/resolve/main/entrypoint.sh
301 Bytes
| # Start the local Telegram Bot API server in the background on port 7860 | |
| telegram-bot-api --local --http-port=7860 --api-id="$TELEGRAM_API_ID" --api-hash="$TELEGRAM_API_HASH" & | |
| # Allow server startup latency synchronization | |
| sleep 3 | |
| # Execute the main Python process | |
| exec python3 bot.py | |