Spaces:
Runtime error
Runtime error
Fixing some typos and trailing spaces
Browse files- Dockerfile +5 -5
- README.md +12 -10
Dockerfile
CHANGED
|
@@ -8,8 +8,8 @@ FROM heartexlabs/label-studio:hf-latest
|
|
| 8 |
# will full access to all projects and data. This is great for trying out
|
| 9 |
# Label Studio and collaborating on projects, but you may want to restrict
|
| 10 |
# access to your space to only authorized users. Uncomment the following line
|
| 11 |
-
# to disable public account creation for this space.
|
| 12 |
-
#
|
| 13 |
# ENV LABEL_STUDIO_DISABLE_SIGNUP_WITHOUT_LINK=true
|
| 14 |
#
|
| 15 |
# Set secrets in your space to create an inital user, and log in with your
|
|
@@ -43,8 +43,8 @@ FROM heartexlabs/label-studio:hf-latest
|
|
| 43 |
# ENV POSTGRE_PORT=<db_port>
|
| 44 |
# ENV POSTGRE_USER=<postgres_user>
|
| 45 |
# ENV POSTGRE_PASSWORD=<password>
|
| 46 |
-
# ENV POSTGRE_PORT=<db_port>
|
| 47 |
-
# ENV POSTGRE_HOST=<db_host>
|
| 48 |
#
|
| 49 |
# Uncomment the following line to remove the warning about ephemeral storage
|
| 50 |
#
|
|
@@ -55,7 +55,7 @@ FROM heartexlabs/label-studio:hf-latest
|
|
| 55 |
#
|
| 56 |
################################################################################
|
| 57 |
|
| 58 |
-
# Wrap Label Studio to set the space hostname and pass through arguments
|
| 59 |
RUN echo "export LABEL_STUDIO_HOST=\$SPACE_HOST; echo 'starting label studio'; label-studio \$@" > start.sh
|
| 60 |
RUN chmod +x /label-studio/start.sh
|
| 61 |
|
|
|
|
| 8 |
# will full access to all projects and data. This is great for trying out
|
| 9 |
# Label Studio and collaborating on projects, but you may want to restrict
|
| 10 |
# access to your space to only authorized users. Uncomment the following line
|
| 11 |
+
# to disable public account creation for this space.
|
| 12 |
+
#
|
| 13 |
# ENV LABEL_STUDIO_DISABLE_SIGNUP_WITHOUT_LINK=true
|
| 14 |
#
|
| 15 |
# Set secrets in your space to create an inital user, and log in with your
|
|
|
|
| 43 |
# ENV POSTGRE_PORT=<db_port>
|
| 44 |
# ENV POSTGRE_USER=<postgres_user>
|
| 45 |
# ENV POSTGRE_PASSWORD=<password>
|
| 46 |
+
# ENV POSTGRE_PORT=<db_port>
|
| 47 |
+
# ENV POSTGRE_HOST=<db_host>
|
| 48 |
#
|
| 49 |
# Uncomment the following line to remove the warning about ephemeral storage
|
| 50 |
#
|
|
|
|
| 55 |
#
|
| 56 |
################################################################################
|
| 57 |
|
| 58 |
+
# Wrap Label Studio to set the space hostname and pass through arguments
|
| 59 |
RUN echo "export LABEL_STUDIO_HOST=\$SPACE_HOST; echo 'starting label studio'; label-studio \$@" > start.sh
|
| 60 |
RUN chmod +x /label-studio/start.sh
|
| 61 |
|
README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
---
|
| 2 |
title: LabelStudio
|
| 3 |
emoji: 🟧
|
| 4 |
-
colorFrom:
|
| 5 |
colorTo: yellow
|
| 6 |
sdk: docker
|
| 7 |
pinned: true
|
|
@@ -19,7 +19,7 @@ highly-configurable user interface. Label Studio can prepare new data or
|
|
| 19 |
improve existing training data to get more accurate ML models.
|
| 20 |
|
| 21 |
|
| 22 |
-
##
|
| 23 |
|
| 24 |
The Label Studio community is thrilled to offer Label Studio as a Hugging Face
|
| 25 |
Spaces application. You can try the data-annotation interface, connect popular
|
|
@@ -27,23 +27,25 @@ machine learning models, and share the application with collaborators. You can
|
|
| 27 |
start immediately by creating an account or replicate the space and work in
|
| 28 |
your own environment.
|
| 29 |
|
| 30 |
-
|
| 31 |
|
| 32 |
Begin by creating a new account in the Label Studio space, then log in with your
|
| 33 |
-
credentials.
|
|
|
|
|
|
|
| 34 |
account, allowing them to view and modify project configuration, data sets, and
|
| 35 |
-
annotations. Without any modifications, treat this space like a demo environment
|
| 36 |
|
| 37 |
-
|
| 38 |
|
| 39 |
After logging in, Label Studio will present you with a project view. Here you
|
| 40 |
can create a new project with prompts to upload data and set up a custom
|
| 41 |
configuration interface.
|
| 42 |
|
| 43 |
-
Note that in the default configuration, storage is local and temporary. Any
|
| 44 |
-
projects, annotations, and configurations will be lost if the space is restarted
|
| 45 |
|
| 46 |
-
|
| 47 |
|
| 48 |
To help with getting started, the Label Studio community curated a list of
|
| 49 |
resources including tutorials and documentation.
|
|
@@ -60,7 +62,7 @@ Have a custom dataset? You can customize Label Studio to fit your needs. Read
|
|
| 60 |
an [introductory blog post](https://towardsdatascience.com/introducing-label-studio-a-swiss-army-knife-of-data-labeling-140c1be92881)
|
| 61 |
to learn more.
|
| 62 |
|
| 63 |
-
### Configuring Label Studio Spaces
|
| 64 |
|
| 65 |
By default this space allows for the unrestricted creation of new accounts
|
| 66 |
will full access to all projects and data. This is great for trying out
|
|
|
|
| 1 |
---
|
| 2 |
title: LabelStudio
|
| 3 |
emoji: 🟧
|
| 4 |
+
colorFrom: grey
|
| 5 |
colorTo: yellow
|
| 6 |
sdk: docker
|
| 7 |
pinned: true
|
|
|
|
| 19 |
improve existing training data to get more accurate ML models.
|
| 20 |
|
| 21 |
|
| 22 |
+
## Label Studio in Hugging Face Spaces
|
| 23 |
|
| 24 |
The Label Studio community is thrilled to offer Label Studio as a Hugging Face
|
| 25 |
Spaces application. You can try the data-annotation interface, connect popular
|
|
|
|
| 27 |
start immediately by creating an account or replicate the space and work in
|
| 28 |
your own environment.
|
| 29 |
|
| 30 |
+
## Creating a Use Account and Logging In
|
| 31 |
|
| 32 |
Begin by creating a new account in the Label Studio space, then log in with your
|
| 33 |
+
credentials.
|
| 34 |
+
|
| 35 |
+
**By default, these spaces permit anyone to create a new login
|
| 36 |
account, allowing them to view and modify project configuration, data sets, and
|
| 37 |
+
annotations. Without any modifications, treat this space like a demo environment.**
|
| 38 |
|
| 39 |
+
## Creating a Labeling Project
|
| 40 |
|
| 41 |
After logging in, Label Studio will present you with a project view. Here you
|
| 42 |
can create a new project with prompts to upload data and set up a custom
|
| 43 |
configuration interface.
|
| 44 |
|
| 45 |
+
**Note that in the default configuration, storage is local and temporary. Any
|
| 46 |
+
projects, annotations, and configurations will be lost if the space is restarted.**
|
| 47 |
|
| 48 |
+
## Next Steps and Additional Resources
|
| 49 |
|
| 50 |
To help with getting started, the Label Studio community curated a list of
|
| 51 |
resources including tutorials and documentation.
|
|
|
|
| 62 |
an [introductory blog post](https://towardsdatascience.com/introducing-label-studio-a-swiss-army-knife-of-data-labeling-140c1be92881)
|
| 63 |
to learn more.
|
| 64 |
|
| 65 |
+
### Configuring Label Studio Spaces for Secure Use
|
| 66 |
|
| 67 |
By default this space allows for the unrestricted creation of new accounts
|
| 68 |
will full access to all projects and data. This is great for trying out
|