Spaces:
Running
Running
Update dl.py
Browse files
dl.py
CHANGED
@@ -50,9 +50,10 @@ def show_f(repo,name,token):
|
|
50 |
file.writelines(r.text)
|
51 |
file.close()
|
52 |
file_list.append(Path(f'{name}/{f_name}'))
|
|
|
|
|
53 |
with ZipFile(f"{name}.zip", "w") as zipObj:
|
54 |
for idx, file in enumerate(f_ist):
|
55 |
-
file_out.append(file)
|
56 |
zipObj.write(f'{name}/{file}')
|
57 |
file_list.append(f'{name}.zip')
|
58 |
|
|
|
50 |
file.writelines(r.text)
|
51 |
file.close()
|
52 |
file_list.append(Path(f'{name}/{f_name}'))
|
53 |
+
file_out.append(f_name)
|
54 |
+
|
55 |
with ZipFile(f"{name}.zip", "w") as zipObj:
|
56 |
for idx, file in enumerate(f_ist):
|
|
|
57 |
zipObj.write(f'{name}/{file}')
|
58 |
file_list.append(f'{name}.zip')
|
59 |
|