HumanSignal / HumanSignal/label-studio-sdk

HuggingFace Space template for Label Studio uses the wrong host parameter

Open
#205 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
192
Forks
127
Avg merge
1d 18h
Merged PRs (30d)
1

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.