Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

web page does not exist url: https://towhee.io/towhee-api/v1/repos/image-decode/--deepcopy--/tree?recursive=true&ref=main #259

Open
xiangcaoximilu opened this issue Jul 18, 2024 · 2 comments

Comments

@xiangcaoximilu
Copy link

HTTPError: 404 Client Error: Not Found for url: https://towhee.io/towhee-api/v1/repos/image-decode/--deepcopy--/tree?recursive=true&ref=main
tihs page does not exist!

@xiangcaoximilu
Copy link
Author

def branch_tree(self, tag):
url = f'{self._root}/towhee-api/v1/repos/{self._author}/{self._repo}/tree?recursive=true&ref={tag}'
try:
r = requests.get(url, timeout=(10, 10))
r.raise_for_status()
return r.json()
except Exception as e: # pylint: disable=broad-except
err = '{}, {}'.format(str(e), traceback.format_exc())
engine_log.error(err)
return None

this is the origin code, but the url no longer exists! so it is a bug?!

@junjiejiangjjj
Copy link
Contributor

image
There is no such operator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants