Skip to content
This repository has been archived by the owner on Jan 30, 2024. It is now read-only.

Window's conda env #22

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@ If you're using conda, you can create a new environment with the following comma
conda env create -f environment.yml
```

For windows conda, installation:

```
conda install -c conda-forge ffmpeg
pip install -r requirements.txt
conda env create -f win-environment.yml
```

Note: If you're using a CPU-only machine, your runtime can be sped-up by using quantization implemented by [@MicellaneousStuff](https://github.com/MiscellaneousStuff) by swapping out `pip install openai-whisper` from `requirements.txt` and replacing it with their fork `pip install git+https://github.com/MiscellaneousStuff/whisper.git` (See related discussion here - https://github.com/hayabhay/whisper-ui/issues/20)

## Usage
Expand All @@ -32,6 +40,13 @@ Once you're set up, you can run the app with:
streamlit run app/01_🏠_Home.py
```

For windows:

```
conda activate whisper
streamlit run app/01_🏠_Home.py
```

This will open a new tab in your browser with the app. You can then select a YouTube URL or local file & click "Run Whisper" to run the model on the selected media.

## Changelog
Expand Down
1 change: 1 addition & 0 deletions runapp.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
streamlit run 01_Transcribe.py
87 changes: 87 additions & 0 deletions win-environment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
name: whisper
channels:
- conda-forge
- defaults
dependencies:
- _libgcc_mutex=0.1=main
- bzip2=1.0.8=he774522_0
- ca-certificates=2022.12.7=h5b45459_0
- certifi=2022.12.7=pyhd8ed1ab_0
- ffmpeg=4.3.1=ha925a31_0
- libffi=3.4.2=hd77b12b_6
- openssl=1.1.1s=h2bbff1b_0
- pip=22.3.1=py310haa95532_0
- python=3.10.9=h966fe2a_0
- setuptools=65.6.3=py310haa95532_0
- sqlite=3.40.1=h2bbff1b_0
- tk=8.6.12=h2bbff1b_0
- vc=14.2=h21ff451_1
- vs2015_runtime=14.27.29016=h5e58377_2
- wheel=0.37.1=pyhd3eb1b0_0
- wincertstore=0.2=py310haa95532_2
- xz=5.2.10=h8cc25b3_1
- zlib=1.2.13=h8cc25b3_0
- pip:
- altair==4.2.2
- attrs==22.2.0
- blinker==1.5
- cachetools==5.3.0
- charset-normalizer==3.0.1
- click==8.1.3
- colorama==0.4.6
- decorator==5.1.1
- entrypoints==0.4
- ffmpeg-python==0.2.0
- filelock==3.9.0
- future==0.18.3
- gitdb==4.0.10
- gitpython==3.1.30
- greenlet==2.0.2
- huggingface-hub==0.12.0
- idna==3.4
- importlib-metadata==6.0.0
- jinja2==3.1.2
- jsonschema==4.17.3
- markdown-it-py==2.1.0
- markupsafe==2.1.2
- mdurl==0.1.2
- more-itertools==9.0.0
- numpy==1.24.2
- openai-whisper==20230124
- packaging==23.0
- pandas==1.5.3
- protobuf==3.20.3
- pyarrow==11.0.0
- pydeck==0.8.0
- pygments==2.14.0
- pympler==1.0.1
- pyrsistent==0.19.3
- python-dateutil==2.8.2
- pytube==12.1.2
- pytz==2022.7.1
- pytz-deprecation-shim==0.1.0.post0
- pyyaml==6.0
- regex==2022.10.31
- requests==2.28.2
- rich==13.3.1
- semantic-version==2.10.0
- semver==2.13.0
- setuptools-rust==1.5.2
- six==1.16.0
- smmap==5.0.0
- sqlalchemy==2.0.2
- streamlit==1.17.0
- tokenizers==0.13.2
- toml==0.10.2
- toolz==0.12.0
- torch==1.13.1
- tornado==6.2
- tqdm==4.64.1
- transformers==4.26.0
- typing-extensions==4.4.0
- tzdata==2022.7
- tzlocal==4.2
- urllib3==1.26.14
- validators==0.20.0
- watchdog==2.2.1
- zipp==3.12.1