https://github.com/dataprofessor/transcriber-app
https://github.com/dataprofessor/transcriber-app
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/dataprofessor/transcriber-app
- Owner: dataprofessor
- Created: 2021-12-03T10:38:33.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-01-24T06:37:39.000Z (over 3 years ago)
- Last Synced: 2025-04-05T07:41:28.152Z (over 1 year ago)
- Language: Python
- Size: 7.81 KB
- Stars: 13
- Watchers: 1
- Forks: 18
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# transcriber-app
# Watch the tutorial video
[How to build your own Speech-to-Text Transcription App in Python using AssemblyAI](https://youtu.be/Kj0JtjAxxKA)
# 1. Obtain the AssemblyAI API key
Obtain your free [AssemblyAI API key](https://www.assemblyai.com/?utm_source=youtube&utm_medium=social&utm_campaign=dataprofessor).
# 2. Running transcriber as command line tool
Firstly, copy and paste the AssemblyAI API key into the `api.txt` file (you can replace the text `replace_with_your_AssemblyAI_API_key` with your own API key).
Secondly, install prerequisite `pytube` library by typing the following:
```
pip3 install pytube
```
Thirdly, run the transcriber by typing the following (note that you can replace the URL with a YouTube video of your choice):
```
python3 transcriber.py -i "https://youtu.be/mkVjrB8g6mM"
```
# 3. Running transcriber as a Streamlit app
To recreate this web app on your own computer, do the following.
### Create conda environment (Optional)
Firstly, we will create a conda environment called *transcriber*
```
conda create -n transcriber python=3.7.9
```
Secondly, we will login to the *transcriber* environment
```
conda activate transcriber
```
### Download GitHub repo
```
git clone https://github.com/dataprofessor/transcriber-app
```
### Pip install libraries
```
pip install -r requirements.txt
```
### Launch the app
```
streamlit run app.py
```
