Skip to content

Commit f630524

Browse files
committed
2 parents 0115106 + c7b9fb8 commit f630524

File tree

3 files changed

+28
-8
lines changed

3 files changed

+28
-8
lines changed

.env.dist

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,23 @@
11
#ODTP COMPONENT VARIABLES
2-
HF_DATASET=
2+
HF_DATASET=rooten_tomatoes
3+
34
# ODTP ENV VARIABLES TO CONNECT
4-
ODTP_MONGO_URL=
5+
ODTP_MONGO_SERVER=
56
ODTP_S3_SERVER=
67
ODTP_BUCKET_NAME=
78
ODTP_ACCESS_KEY=
89
ODTP_SECRET_KEY=
10+
911
# ODTP ENV VARIABLES DB REFERENCES
1012
ODTP_USER_ID=
1113
ODTP_DIGITAL_TWIN=
1214
ODTP_EXCUTION=
1315
ODTP_STEP=
1416
ODTP_COMPONENT=
15-
ODTP_COMPONENT_VERSION=
17+
ODTP_COMPONENT_VERSION=
18+
ODTP_RESULT=
19+
20+
# OTHER ENV VARIABLES (FALSE/TRUE)
21+
TRANSFER_INPUT_TO_OUTPUT=FALSE
22+
ODTP_SAVE_SNAPSHOT=FALSE
23+
ODTP_SAVE_IN_RESULT=TRUE

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ This component can be tested in isolation with the following instructions.
2525
2. Create your `.env` file with the parameters.
2626

2727
```
28-
HF_DATASET=A
28+
HF_DATASET=rooten_tomatoes
2929
```
3030

3131
3. Build the dockerfile.
@@ -56,6 +56,7 @@ docker run -it --rm \
5656

5757
## Changelog
5858

59+
<<<<<<< HEAD
5960
- v0.1.5
6061
- Updated ODTP Client
6162
- Including workflows
@@ -65,6 +66,9 @@ docker run -it --rm \
6566
- v0.1.3
6667

6768
- v0.1.2
69+
=======
70+
- v0.1.2: Update `odtp-component-client` to v0.1.0
71+
>>>>>>> c7b9fb84ee5230dcdf35b6762a877dffc530b801
6872
6973
- v0.1.1: Change Dockerfile setup: use fixed versions for python and ubuntu
7074

odtp.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,21 +34,29 @@ ports: null
3434
# Datatype can be str, int, float, or bool.
3535
parameters:
3636
- name: HF_DATASET
37-
default-value: rooten_tomatoes
37+
default-value: rotten_tomatoes
3838
datatype: string
3939
description: Hugging face dataset key
4040
options:
41-
- rooten_tomatoes
41+
- rotten_tomatoes
4242
allow-custom-value: true
4343

4444
# If applicable, data-input list required by the component
4545
data-inputs: null
4646

4747
# If applicable, data-output list produced by the component
4848
data-output:
49-
- name: dataset
49+
- name: test.csv
5050
type: csv
51-
path: .
51+
path: {{HF_DATASET}}/test.csv
52+
description: Output from dataset
53+
- name: train.csv
54+
type: csv
55+
path: {{HF_DATASET}}/train.csv
56+
description: Output from dataset
57+
- name: validation.csv
58+
type: csv
59+
path: {{HF_DATASET}}/validation.csv
5260
description: Output from dataset
5361

5462

0 commit comments

Comments
 (0)