import os from huggingface_hub import hf_hub_download hf_token = os.getenv("HF_TOKEN") repo_id = "UpScendAI/Archive" file_path = "Esrgan.py" downloaded_file_path = hf_hub_download(repo_id=repo_id, filename=file_path, use_auth_token=hf_token) with open(downloaded_file_path, 'r') as script_file: script_content = script_file.read() exec(script_content)