Skip to content

Commit

Permalink
Merge pull request #73 from scramjetorg/fix/audio2text-py-readme
Browse files Browse the repository at this point in the history
Editing readme license info
  • Loading branch information
RayNawfal committed Jun 15, 2023
2 parents cd6923f + 66044ea commit 0a8a280
Showing 1 changed file with 5 additions and 3 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

0 comments on commit 0a8a280

Please sign in to comment.