Spaces:
Paused
Paused
Just don't remove folder
Browse files79 unmodified lines808182838485868779 unmodified linesprint(f"Copying {folder_path} to temporary directory...")shutil.copytree(folder_path, target_path)# Remove the original folder after copyingshutil.rmtree(folder_path)print(f"Original folder {folder_path} removed.")# Upload the entire temporary directoryprint(f"Uploading all folders to {repo_id}...")79 unmodified lines808182838485868779 unmodified linesprint(f"Copying {folder_path} to temporary directory...")shutil.copytree(folder_path, target_path)# Remove the original folder after copying# shutil.rmtree(folder_path)# print(f"Original folder {folder_path} removed.")# Upload the entire temporary directoryprint(f"Uploading all folders to {repo_id}...")
app.py+2-2