Spaces:
Running
Running
import os | |
TOKEN = os.getenv('TOKEN') | |
USERNAME = os.getenv('USERNAME') | |
REPO = os.getenv('REPO') | |
os.system(f"mkdir TerminalBot && cd TerminalBot && git clone https://{USERNAME}:{TOKEN}@github.com/{USERNAME}/{REPO}.git && cd {REPO} && pip3 install -r requirements.txt && python3 main.py") |