This is a simple Python script that allows you to transcribe speech from an audio file using the AssemblyAI API. The script uses the assemblyai
library to perform the speech-to-text conversion.
- Python 3.x
- AssemblyAI Python library (
assemblyai
)
- Make sure you have Python 3.x installed on your system.
- Install the AssemblyAI library using pip:
pip install assemblyai
-
Clone or download the repository from GitHub.
-
Open a terminal or command prompt and navigate to the project directory.
-
Run the script using Python:
python main.py
-
The script will prompt you to select an audio file (in
.ogg
or.wav
format) using a file dialog window. -
After selecting the audio file, the script will transcribe the speech and display the result in the terminal.
-
You will then be asked if you want to save the transcript to a text file. If you choose to save, another file dialog window will appear, allowing you to choose the location to save the transcript.
- The script uses the AssemblyAI API to perform speech-to-text transcription. You need to have an API key from AssemblyAI.
This project is licensed under the MIT License.
Contributions and suggestions are welcome! Feel free to submit issues or pull requests.
- This project uses the AssemblyAI API to perform speech-to-text transcription. More information about the API can be found on the AssemblyAI website.