sca255 commited on
Commit
5e77440
1 Parent(s): 14138de

Update dl.py

Browse files
Files changed (1) hide show
  1. dl.py +1 -1
dl.py CHANGED
@@ -2,7 +2,7 @@ import requests as rq
2
  import json
3
  import os
4
  import sys
5
- tkn=sys.argv[0]
6
  opt=rq.get("https://civitai.com/api/v1/model-versions/by-hash/F32CC1F1")
7
  j:dict=opt.json()
8
  opt =rq.get(j.get("files")[0].get("downloadUrl")+"?token="+tkn)
 
2
  import json
3
  import os
4
  import sys
5
+ tkn=sys.argv[1]
6
  opt=rq.get("https://civitai.com/api/v1/model-versions/by-hash/F32CC1F1")
7
  j:dict=opt.json()
8
  opt =rq.get(j.get("files")[0].get("downloadUrl")+"?token="+tkn)