Omnibus commited on
Commit
48881dc
1 Parent(s): e7b7b75

Update dl.py

Browse files
Files changed (1) hide show
  1. dl.py +4 -0
dl.py CHANGED
@@ -59,6 +59,10 @@ def show_f(repo,name,token):
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)
 
59
  print(f_name)
60
 
61
  else:
62
+
63
+ sf=d_app.split(".",1)[1]
64
+ pf=d_app.split(".",1)[0]
65
+ f_name=f'{pf}.{sf}'
66
  pass
67
  r = requests.get(f'https://huggingface.co/spaces/{repo}/{name}/raw/main/{d_app}')
68
  print(d_app)