dedicated windows and mac scripts, fixed verbose checkbox

This commit is contained in:
Kristofer Söderström
2023-04-14 10:31:26 +02:00
parent 1128e44486
commit 2769ddf68b
11 changed files with 34 additions and 18 deletions

View File

@@ -31,13 +31,12 @@ 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, see the example below. (Remember to have transcribe.py and example.ipynb in the same working folder).
##### Example with jupyter notebook
#### Example with jupyter notebook
See [example](example.ipynb) for an implementation on jupyter notebook, also added an example for a simple [workaround](example_no_internet.ipynb) to transcribe while offline.
##### Using the GUI
#### Using the GUI
You can also run the GUI version from your terminal running ```python GUI.py``` or with the batch file called run_gui.bat, just make sure to add your conda path to it. If you want to download a model first, and then go offline for transcription, I recommend running the model with the default sample folder, which will download the model locally. The GUI should look like this:
![python GUI.py](gui_jpeg.jpg?raw=true)
##### Model location
On Windows, the models are located in ```C:\Users\<username>\. cache\whisper\<model>```
[^1]: Advanced users can use ```pip install ffmpeg-python``` but be ready to deal with some [PATH issues](https://stackoverflow.com/questions/65836756/python-ffmpeg-wont-accept-path-why), which I encountered in Windows 11.