Update README.md
This commit is contained in:
committed by
GitHub
parent
991f5be15e
commit
1f6e962ca6
@@ -6,7 +6,7 @@ Simple script that uses OpenAI's Whisper to transcribe audio files from your loc
|
|||||||
1. This script was made and tested in an Anaconda environment with python 3.10. I recommend this method if you're not familiar with python.
|
1. This script was made and tested in an Anaconda environment with python 3.10. I recommend this method if you're not familiar with python.
|
||||||
See [here](https://docs.anaconda.com/anaconda/install/index.html) for instructions. You might need administrator rights.
|
See [here](https://docs.anaconda.com/anaconda/install/index.html) for instructions. You might need administrator rights.
|
||||||
2. Whisper requires some additional libraries. The [setup](https://github.com/openai/whisper#setup) page states: "The codebase also depends on a few Python packages, most notably HuggingFace Transformers for their fast tokenizer implementation and ffmpeg-python for reading audio files."
|
2. Whisper requires some additional libraries. The [setup](https://github.com/openai/whisper#setup) page states: "The codebase also depends on a few Python packages, most notably HuggingFace Transformers for their fast tokenizer implementation and ffmpeg-python for reading audio files."
|
||||||
Users might not need to specifically install Transfomers. However, a conda installation might be needed for ffmepg[^1], which takes care of setting up PATH variables. Anaconda installation:
|
Users might not need to specifically install Transfomers. However, a conda installation might be needed for ffmepg[^1], which takes care of setting up PATH variables. From the anaconda prompt, type or copy the following:
|
||||||
```
|
```
|
||||||
conda install -c conda-forge ffmpeg-python
|
conda install -c conda-forge ffmpeg-python
|
||||||
```
|
```
|
||||||
@@ -19,7 +19,7 @@ This is a simple script with no installation. You can either clone the repositor
|
|||||||
```
|
```
|
||||||
git clone https://github.com/soderstromkr/transcribe.git
|
git clone https://github.com/soderstromkr/transcribe.git
|
||||||
```
|
```
|
||||||
and use the example.ipynb template to use the script **OR** download the ```transcribe.py``` file into your work folder. Then you can either import it to another script or notebook for use. I recommend jupyter notebook for new users.
|
and use the example.ipynb template to use the script **OR (for beginners)** download the ```transcribe.py``` file into your work folder. Then you can either import it to another script or notebook for use. I recommend jupyter notebook for new users, see the example below. (Remember to have transcribe.py and example.ipynb in the same working folder).
|
||||||
|
|
||||||
### Example
|
### Example
|
||||||
See the [example](example.ipynb) implementation on jupyter notebook.
|
See the [example](example.ipynb) implementation on jupyter notebook.
|
||||||
|
|||||||
Reference in New Issue
Block a user