Spaces:
Running
Running
Update dl.py
Browse files
dl.py
CHANGED
@@ -56,10 +56,11 @@ def show_f(repo,name,token):
|
|
56 |
sf=rem_1.split(".",1)[1]
|
57 |
pf=rem_1.split(".",1)[0]
|
58 |
f_name=f'{dir_1}/{pf}.{sf}'
|
|
|
|
|
59 |
else:
|
60 |
pass
|
61 |
r = requests.get(f'https://huggingface.co/spaces/{repo}/{name}/raw/main/{d_app}')
|
62 |
-
print(f_name)
|
63 |
print(d_app)
|
64 |
#print (r.text)
|
65 |
uid = uuid.uuid4()
|
|
|
56 |
sf=rem_1.split(".",1)[1]
|
57 |
pf=rem_1.split(".",1)[0]
|
58 |
f_name=f'{dir_1}/{pf}.{sf}'
|
59 |
+
print(f_name)
|
60 |
+
|
61 |
else:
|
62 |
pass
|
63 |
r = requests.get(f'https://huggingface.co/spaces/{repo}/{name}/raw/main/{d_app}')
|
|
|
64 |
print(d_app)
|
65 |
#print (r.text)
|
66 |
uid = uuid.uuid4()
|