civitaiarchive commited on
Commit
f0bc74b
·
1 Parent(s): 1f3e7e4

Add civitai-to-hf-uploader

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -41,7 +41,7 @@ def download_file(url, file_path, folder):
41
 
42
 
43
  def get_files_by_username(username):
44
- url = f"https://civitai.com/api/v1/models?author={username}&limit=100"
45
  output = {}
46
 
47
  while url:
 
41
 
42
 
43
  def get_files_by_username(username):
44
+ url = f"https://civitai.com/api/v1/models?username={username}&limit=100&nsfw=true"
45
  output = {}
46
 
47
  while url: