audio2text_py

Transcription of an audio file using AssemblyAI API.

Description

  • Name: audio2text_py
  • Version: 1.0.0
  • Language: python
  • Author: Ray_Nawfal
  • Tags: AudioToText,Transcription,AssemblyAI

Requirements


For this Sequence to run properly, it is required to register and acquire an API key from AssemblyAI

Install and Run


Install the Transform-Hub locally or use Scramjet's Cloud Platform environment for the Sequence deployment. For more information on the below commands check the CLI reference section on Scramjet's Website.

On the terminal run the following commands:

# Create directory __pypackages__ in the same directory as main.py mkdir __pypackages__ # Install dependencies in the __pypackages__ folder. pip3 install -t __pypackages__ -r requirements.txt # Pack the Sequence into a gzip format si seq pack audio2text # Send the Sequence to the Transform-Hub, with a return <Sequence-id> value si seq send audio2text.tar.gz # Start a Sequence, with the AssemblyAi-key as an argument parameter si seq start <Sequence-id> --args [\"<AssemblyAI-token>\"] # Transcription of the audio file as text output si inst output <Instance-id>