Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Prepare version 1.23.0 (with oauth integration)
#26
by
frascuchon
HF Staff
- opened
- .oauth.yaml +9 -0
- Dockerfile +3 -1
.oauth.yaml
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Change to `true` to enable HF auth integration
|
| 2 |
+
enabled: false
|
| 3 |
+
|
| 4 |
+
providers:
|
| 5 |
+
- name: huggingface
|
| 6 |
+
|
| 7 |
+
# Allowed workspaces must exists
|
| 8 |
+
allowed_workspaces:
|
| 9 |
+
- name: admin
|
Dockerfile
CHANGED
|
@@ -1,5 +1,7 @@
|
|
| 1 |
-
FROM argilla/argilla-quickstart:v1.
|
| 2 |
|
|
|
|
|
|
|
| 3 |
|
| 4 |
# Define datasets to preload: full=all datasets, single=one dataset, and none=no datasets.
|
| 5 |
ENV LOAD_DATASETS=none
|
|
|
|
| 1 |
+
FROM argilla/argilla-quickstart:v1.23.0
|
| 2 |
|
| 3 |
+
# Copy the auth config section
|
| 4 |
+
COPY .oauth.yaml /home/argilla/
|
| 5 |
|
| 6 |
# Define datasets to preload: full=all datasets, single=one dataset, and none=no datasets.
|
| 7 |
ENV LOAD_DATASETS=none
|