Spaces:
Build error
Build error
Update app.py
Browse files24 unmodified lines252627282930313224 unmodified linesmatches = re.findall(r'https://huggingface.co/([^/]+)/([^/]+)/([^/]+)/', url)repo_id = matches[0][1]repo_type = matches[0][2]print(f'Repository ID: {repo_id}')print(f'Repository type: {repo_type}')MODEL_REPO = f'{repo_id}/{repo_type}'TOKEN = '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'MODEL_FILENAME = 'model-resnet_custom_v3.h5'24 unmodified lines25262728293024 unmodified linesmatches = re.findall(r'https://huggingface.co/([^/]+)/([^/]+)/([^/]+)/', url)repo_id = matches[0][1]repo_type = matches[0][2]MODEL_REPO = f'{repo_id}/{repo_type}'TOKEN = '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'MODEL_FILENAME = 'model-resnet_custom_v3.h5'
app.py-2