Spaces:
Runtime error
Runtime error
Update app.py
Browse files20 unmodified lines212223242526272820 unmodified linesTITLE = 'DeepDanbooru String'url = 'https://huggingface.co/spaces/yo2266911/DeepDanbooru_string/'matches = re.findall(r'https://huggingface.co/([^/]+)/([^/]+)/([^/]+)/', url)repo_id = matches[0][1]repo_type = matches[0][2]MODEL_REPO = f'{repo_id}/{repo_type}'20 unmodified lines212223242526272820 unmodified linesTITLE = 'DeepDanbooru String'url = 'https://huggingface.co/spaces/yo2266911/DeepDanbooru_string'matches = re.findall(r'https://huggingface.co/([^/]+)/([^/]+)/([^/]+)', url)repo_id = matches[0][1]repo_type = matches[0][2]MODEL_REPO = f'{repo_id}/{repo_type}'
app.py+2-2