toto10's picture
Upload folder using huggingface_hub (#1)
34097e9
raw
history blame
No virus
259 Bytes
import csv
from io import StringIO
from typing import List
def split_path_list(path_list: str) -> List[str]:
pl = []
with StringIO() as f:
f.write(path_list)
f.seek(0)
for r in csv.reader(f):
pl += r
return pl