-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
replace Job with Deployment in the chart
- Loading branch information
Showing
4 changed files
with
58 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
## Subaligner Helm Chart | ||
|
||
This chart needs to be customised with the following parameters: | ||
|
||
- **videoDirectory:** The path to the video directory on the host node. | ||
- **subtitleDirectory:** The path to the subtitle directory on the host node. | ||
- **outputDirectory:** The path to the output directory on the host node. | ||
|
||
|
||
### Installation | ||
``` | ||
helm install subaligner . --set videoDirectory=$VIDEO_DIRECTORY,subtitleDirectory=$SUBTITLE_DIRECTORY,outputDirectory=$OUTPUT_DIRECTORY | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,15 @@ | ||
{{ .Release.Name }} is deployed to {{ .Release.Namespace }} namespace. | ||
{{ .Release.Name }} is deployed to {{ .Release.Namespace }} namespace. | ||
|
||
Input directories: /videos /subtitles | ||
Output directory: /output | ||
|
||
Examples of usage (replace "subaligner-**-*" with the actual pod name): | ||
kubectl exec -it subaligner-**-* -- subaligner -m dual -v /videos/video.mp4 -s /subtitles/subtitle.srt -o /output/subtitle_aligned.srt | ||
kubectl exec -it subaligner-**-* -- subaligner_batch -m dual -vd /videos -sd /subtitles -od /output | ||
kubectl exec -it subaligner-**-* -- subaligner -m transcribe -v /videos/video.mp4 -ml eng -mr whisper -mf small -o /output/subtitle_aligned.srt | ||
|
||
More can be found at: | ||
https://subaligner.readthedocs.io/en/latest/usage.html | ||
https://subaligner.readthedocs.io/en/latest/advanced_usage.html | ||
|
||
Thank you for installing the Subaligner Helm Chart! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters