John6666 commited on
Commit
05850d5
1 Parent(s): d1bc90c

Upload 4 files

Browse files
convert_url_to_diffusers_sdxl.py CHANGED
@@ -12,7 +12,7 @@ def list_sub(a, b):
12
 
13
  def is_repo_name(s):
14
  import re
15
- return re.fullmatch(r'^[^/\.,\s]+?/[^/\.,\s]+?$', s)
16
 
17
 
18
  def download_thing(directory, url, civitai_api_key=""):
 
12
 
13
  def is_repo_name(s):
14
  import re
15
+ return re.fullmatch(r'^[^/,\s]+?/[^/,\s]+?$', s)
16
 
17
 
18
  def download_thing(directory, url, civitai_api_key=""):
convert_url_to_diffusers_sdxl_gr.py CHANGED
@@ -13,7 +13,7 @@ def list_sub(a, b):
13
 
14
  def is_repo_name(s):
15
  import re
16
- return re.fullmatch(r'^[^/\.,\s]+?/[^/\.,\s]+?$', s)
17
 
18
 
19
  def download_thing(directory, url, civitai_api_key="", progress=gr.Progress(track_tqdm=True)):
 
13
 
14
  def is_repo_name(s):
15
  import re
16
+ return re.fullmatch(r'^[^/,\s]+?/[^/,\s]+?$', s)
17
 
18
 
19
  def download_thing(directory, url, civitai_api_key="", progress=gr.Progress(track_tqdm=True)):
local/convert_url_to_diffusers_sdxl.py CHANGED
@@ -12,7 +12,7 @@ def list_sub(a, b):
12
 
13
  def is_repo_name(s):
14
  import re
15
- return re.fullmatch(r'^[^/\.,\s]+?/[^/\.,\s]+?$', s)
16
 
17
 
18
  def download_thing(directory, url, civitai_api_key=""):
 
12
 
13
  def is_repo_name(s):
14
  import re
15
+ return re.fullmatch(r'^[^/,\s]+?/[^/,\s]+?$', s)
16
 
17
 
18
  def download_thing(directory, url, civitai_api_key=""):