Spaces:
Sleeping
Sleeping
Download src/config.py from codebydante/TwistedStreamingBrody: direct link, hf CLI and curl.
- Browser
- Download file 645 Bytes
-
https://huggingface.co/spaces/codebydante/TwistedStreamingBrody/resolve/main/src/config.py
- Command line
-
hf download hf://spaces/codebydante/TwistedStreamingBrody/src/config.py
-
curl -L -o config.py https://huggingface.co/spaces/codebydante/TwistedStreamingBrody/resolve/main/src/config.py
645 Bytes
| import os | |
| from dotenv import load_dotenv | |
| load_dotenv() | |
| # Credenciales por defecto (Telegram Oficial) o leídas desde .env / Secrets | |
| API_ID = int(os.getenv("API_ID", 2040)) | |
| API_HASH = os.getenv("API_HASH", "b18441a1ff607e10a989891a5462e627") | |
| SESSION_STRING = os.getenv("SESSION_STRING", "") | |
| PORT = int(os.getenv("PORT", 7860)) | |
| # Enlace del canal destino para el flujo | |
| TARGET_CHANNEL_LINK = os.getenv("TARGET_CHANNEL_LINK", "https://t.me/+IKNrGXMIt_MxMzg5") | |
| # Enlace del canal de control/escaneo (donde reenvías los mensajes a clonar) | |
| TRIGGER_CHANNEL_LINK = os.getenv("TRIGGER_CHANNEL_LINK", "https://t.me/+D-vFPowf4JpjNGRh") | |