Skip to content

Commit

Permalink
Merge pull request #230 from grycap/change-doc
Browse files Browse the repository at this point in the history
Documentation updates
  • Loading branch information
catttam authored Mar 4, 2024
2 parents 8235065 + 4b960de commit 38078a2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions docs/fdl.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ storage_providers:
| `cluster_id` </br> *string* | Identifier for the current cluster, used to specify the cluster's StorageProvider in job delegations. OSCAR-CLI sets it using the ClusterID from the FDL. Optional. (default: "") |
| `image` </br> *string* | Docker image for the service |
| `vo` </br> *string* | Virtual Organization (VO) in which the user creating the service is enrolled. Optional (default: "") |
| `allowed_users` </br> *string array* | Array EGI UIDs to grant specific users permissions over the service. If empty, the service is viewed as public. (Enabled since OSCAR version v3.0.0). |
| `alpine` </br> *boolean* | Alpine parameter to set if image is based on Alpine. If `true` a custom release of faas-supervisor will be used. Optional (default: false) |
| `script` </br> *string* | Local path to the user script to be executed in the service container |
| `file_stage_in` </br> *bool* | Parameter to skip the download of the input files by the FaaS Supervisor (default: false) |
Expand Down
4 changes: 2 additions & 2 deletions examples/plant-classification-sync/script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ OUTPUT_FILE="$TMP_OUTPUT_DIR/$IMAGE_NAME"

mv $INPUT_FILE_PATH "$INPUT_FILE_PATH.jpg"

echo "SCRIPT: Invoked deepaas-predict command. File available in $INPUT_FILE_PATH."
deepaas-predict -i "$INPUT_FILE_PATH.jpg" -o $OUTPUT_FILE
echo "SCRIPT: Invoked deepaas-cli command."
deepaas-cli --deepaas_method_output $OUTPUT_FILE predict --files "$INPUT_FILE_PATH.jpg"

0 comments on commit 38078a2

Please sign in to comment.