yo2266911 commited on
Commit
434b75a
1 Parent(s): 9486b25

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -21,8 +21,8 @@ import re
21
 
22
  TITLE = 'DeepDanbooru String'
23
 
24
- url = 'https://huggingface.co/spaces/yo2266911/DeepDanbooru_string/'
25
- matches = re.findall(r'https://huggingface.co/([^/]+)/([^/]+)/([^/]+)/', url)
26
  repo_id = matches[0][1]
27
  repo_type = matches[0][2]
28
  MODEL_REPO = f'{repo_id}/{repo_type}'
 
21
 
22
  TITLE = 'DeepDanbooru String'
23
 
24
+ url = 'https://huggingface.co/spaces/yo2266911/DeepDanbooru_string'
25
+ matches = re.findall(r'https://huggingface.co/([^/]+)/([^/]+)/([^/]+)', url)
26
  repo_id = matches[0][1]
27
  repo_type = matches[0][2]
28
  MODEL_REPO = f'{repo_id}/{repo_type}'