Skip to content

Commit

Permalink
Merge branch 'feat/audio2text-input' of github.com:scramjetorg/platfo…
Browse files Browse the repository at this point in the history
…rm-samples into feat/audio2text-input
  • Loading branch information
piotrek6641 committed Jun 16, 2023
2 parents 6de27b5 + b79af99 commit c046a49
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions python/audio2text/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

This Sequence transcribes an audio file to a text using AssemblyAI API.
The example audio file is provided with this sample, replacing this audio file with another is possible but the file must be renamed to `song.wav`.<br/>
The audio file
<a href="https://salford.figshare.com/collections/HARVARD_speech_corpus_-_audio_recording_2019/4437578" target="_blank">`song.wav`</a> is licensed under the Creative Commons Attribution-NonCommercial 4.0 International License.

___

Expand All @@ -27,13 +29,13 @@ mkdir __pypackages__
pip3 install -t __pypackages__ -r requirements.txt

# Pack the Sequence into a gzip format
si seq pack audio2text_py
si seq pack audio2text

# Send the Sequence to the Transform-Hub, with a return <Sequence-id> value
si seq send audio2text_py.tar.gz
si seq send audio2text.tar.gz

# Start a Sequence, with the AssemblyAi-key as an argument parameter
si seq start <Sequence-id> --args [\"<AssemblyAi-key>\"]
si seq start <Sequence-id> --args [\"<AssemblyAI-token>\"]

# Transcription of the audio file as text output
si inst output <Instance-id>
Expand Down
2 changes: 1 addition & 1 deletion typescript/audio2text/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@ si seq send dist.tar.gz
si seq start - --args [\"AssemblyAi-key\"]

# Transcription of the audio file as text output
si inst stdout -
si inst output -
```

0 comments on commit c046a49

Please sign in to comment.