Are you sure you want to delete this task? Once this task is deleted, it cannot be recovered.
ts519 e7a4f74b02 | 1 year ago | |
---|---|---|
docs | 1 year ago | |
src | 1 year ago | |
tests | 1 year ago | |
.gitattributes | 1 year ago | |
.gitignore | 1 year ago | |
README.md | 1 year ago | |
app-local.py | 1 year ago | |
app-network.py | 1 year ago | |
app-shared.py | 1 year ago | |
app.py | 1 year ago | |
apt.sh | 1 year ago | |
dockerfile | 1 year ago | |
get_model.py | 1 year ago | |
requirements.txt | 1 year ago |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
To run this program locally, first install Python 3.9+ and Git. Then install Pytorch 10.1+ and all the other dependencies:
pip install -r requirements.txt
Finally, run the full version (no audio length restrictions) of the app:
python app-full.py
To run it in Docker, first install Docker and optionally the NVIDIA Container Toolkit in order to use the GPU. Then
check out this repository and build an image:
sudo docker build -t whisper-webui:1 .
You can then start the WebUI with GPU support like so:
sudo docker run -d --gpus=all -p 7860:7860 whisper-webui:1
Leave out "--gpus=all" if you don't have access to a GPU with enough memory, and are fine with running it on the CPU only:
sudo docker run -d -p 7860:7860 whisper-webui:1
Note that the models themselves are currently not included in the Docker images, and will be downloaded on the demand.
To avoid this, bind the directory /root/.cache/whisper to some directory on the host (for instance /home/administrator/.cache/whisper), where you can (optionally)
prepopulate the directory with the different Whisper models.
sudo docker run -d --gpus=all -p 7860:7860 --mount type=bind,source=/home/administrator/.cache/whisper,target=/root/.cache/whisper whisper-webui:1
No Description
Python Shell Text
Dear OpenI User
Thank you for your continuous support to the Openl Qizhi Community AI Collaboration Platform. In order to protect your usage rights and ensure network security, we updated the Openl Qizhi Community AI Collaboration Platform Usage Agreement in January 2024. The updated agreement specifies that users are prohibited from using intranet penetration tools. After you click "Agree and continue", you can continue to use our services. Thank you for your cooperation and understanding.
For more agreement content, please refer to the《Openl Qizhi Community AI Collaboration Platform Usage Agreement》