File size: 273 Bytes
63a1020 |
1 2 3 4 5 6 7 8 9 10 11 |
import os
import shutil
PATH = os.path.join(os.environ['HF_CHECKPOINT'],'LoRA/upload')
# Get a list of all files in the source directory
files = os.listdir(PATH)
# Copy each file to the current directory
for file in files:
shutil.copy(os.path.join(PATH, file), './') |