Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -25,8 +25,6 @@ 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 |
-
print(f'Repository ID: {repo_id}')
|
29 |
-
print(f'Repository type: {repo_type}')
|
30 |
MODEL_REPO = f'{repo_id}/{repo_type}'
|
31 |
TOKEN = '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'
|
32 |
MODEL_FILENAME = 'model-resnet_custom_v3.h5'
|
|
|
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}'
|
29 |
TOKEN = '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'
|
30 |
MODEL_FILENAME = 'model-resnet_custom_v3.h5'
|