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

HuggingFace Space template for Label Studio uses the wrong host parameter #205

Open
fozziethebeat opened this issue Apr 23, 2024 · 0 comments

Comments

@fozziethebeat
Copy link

In the default template space for launching Label Studio on HuggingFace Spaces, it has the following launch command:

CMD exec label-studio --host=$SPACE_HOST

However, host expects a protocol like https:// and SPACE_HOST is just the hostname (org-space.hf.space). Everything loads up correctly but this bug makes it impossible to access the space via API calls as needed by the sdk (i.e. through https://org-space.hf.space)

I manually changed this in my forked space and everything worked as desired so I think this just requires changing the template docker file on HuggingFace.

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

1 participant