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

Error assert rsp.status_code == 200 #14

Open
HungNgoCT opened this issue Dec 3, 2024 · 1 comment
Open

Error assert rsp.status_code == 200 #14

HungNgoCT opened this issue Dec 3, 2024 · 1 comment

Comments

@HungNgoCT
Copy link

Hi @rentainhe .,

Understood this is work for commercialization.

I would like to test demo.py, but I got error: assert rsp.status_code == 200.

I search, and know that it relates to API token.

Then, how can I run demo? Please help if this is free of charge.

Thanks

@rentainhe
Copy link
Collaborator

Hi @HungNgoCT , maybe you should register in our official website to get your own API token first and specify the API_TOKEN parameter in demo.py:

https://github.com/IDEA-Research/DINO-X-API?tab=readme-ov-file#register-on-offical-website-to-get-api-token

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