CoolFace
Apppublic

fishaudio/fish-diffusion

sourceHugging Faceupdated 3y agoView on Hugging Face
77likes
Dockerfile29 linesDownload Raw Back to root
1FROM nvidia/cuda:11.8.0-cudnn8-devel-ubuntu22.042 3# Install Poetry4RUN apt-get update && apt-get install -y git curl python3 python3-pip build-essential ffmpeg libsm6 libxext65RUN curl -sSL https://install.python-poetry.org | python3 -6ENV PATH="/root/.local/bin:${PATH}"7RUN poetry config virtualenvs.create false8 9# Install dependencies10WORKDIR /app11 12RUN git clone https://github.com/fishaudio/fish-diffusion.git && \13    cd fish-diffusion && \14    git checkout 8b21f57080e70675aaaa2ffa2fad04aed911942015 16WORKDIR /app/fish-diffusion17RUN poetry install18 19COPY --chown=user . .20 21ENV GRADIO_SERVER_NAME=0.0.0.022ENV GRADIO_SERVER_PORT=786023ENV NUMBA_CACHE_DIR=/tmp/numba24ENV TRANSFORMERS_CACHE=/tmp/huggingface25ENV MPLCONFIGDIR=/tmp/matplotlib26ENV TORCH_HOME=/tmp/torch27 28CMD python3 tools/hifisinger/gradio_ui.py29