Skip to content

Commit e466e3b

Browse files
authored
Merge pull request #1647 from bgruening/fix_whisper
Update whisperx.xml
2 parents 3f1539a + 58df959 commit e466e3b

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

tools/whisperx/whisperx.xml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
<tool id="whisperx" name="Speech to Text with Diarization" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="25.0" license="MIT">
22
<description>
3-
Transcribe audio or video files to text using the OpenAI Whisper and speaker diarization using pyannote audio.
3+
Transcribe audio or video files to text using the OpenAI Whisper and speaker diarization (WhisperX)
44
</description>
55
<macros>
66
<token name="@TOOL_VERSION@">3.4.2</token>
7-
<token name="@VERSION_SUFFIX@">0</token>
7+
<token name="@VERSION_SUFFIX@">1</token>
88
</macros>
99
<requirements>
1010
<container type="docker">quay.io/arash77/whisperx:3.4.2</container>
1111
</requirements>
1212
<command detect_errors="exit_code"><![CDATA[
13-
export TORCH_HOME=${WHISPERX_MODEL_DIR}/torch/ &&
14-
export HF_HOME=${WHISPERX_MODEL_DIR}/huggingface/ &&
15-
export PYANNOTE_CACHE=${WHISPERX_MODEL_DIR}/torch/pyannote/ &&
13+
export TORCH_HOME=\${WHISPERX_MODEL_DIR}/torch/ &&
14+
export HF_HOME=\${WHISPERX_MODEL_DIR}/huggingface/ &&
15+
export PYANNOTE_CACHE=\${WHISPERX_MODEL_DIR}/torch/pyannote/ &&
1616
ln -s '$infile' ./input.${infile.ext} &&
1717
whisperx ./input.${infile.ext}
1818
--model $model
1919
--model_cache_only True
20-
--model_dir ${WHISPERX_MODEL_DIR}/faster-whisper
21-
#if str($language).strip():
22-
--language $language
20+
--model_dir \${WHISPERX_MODEL_DIR}/faster-whisper
21+
#if str($language):
22+
--language $language
2323
#end if
2424
--output_format $output_format
2525
--output_dir ./outs

0 commit comments

Comments
 (0)