Spaces:
Runtime error
Runtime error
FROM gcr.io/ekstepspeechrecognition/text_to_speech_open_api_dependency:2.1.7 | |
ARG DEBIAN_FRONTEND=noninteractive | |
EXPOSE 7860 | |
RUN mkdir /opt/text_to_speech_open_api/ | |
ENV base_path=/opt/text_to_speech_open_api/ | |
ENV models_base_path=/opt/text_to_speech_open_api/deployed_models/ | |
ENV model_logs_base_path=/opt/text_to_speech_open_api/deployed_models/logs/ | |
ENV translit_model_base_path=/opt/text_to_speech_open_api/vakyansh-tts/src/glow_tts/tts_infer/ | |
RUN echo "export LD_LIBRARY_PATH=/usr/local/nvidia/lib:/usr/local/nvidia/lib64:/usr/local/lib" >> ~/.bashrc | |
RUN cp -R /opt/api_dependencies/vakyansh-tts /opt/text_to_speech_open_api/ | |
RUN cp -R /opt/api_dependencies/vakyansh-tts/tts_infer /opt/text_to_speech_open_api/vakyansh-tts/src/glow_tts/ | |
WORKDIR /opt/text_to_speech_open_api/vakyansh-tts/src/glow_tts/ | |
COPY src /opt/text_to_speech_open_api/vakyansh-tts/src/glow_tts/src | |
COPY ./server.py /opt/text_to_speech_open_api/vakyansh-tts/src/glow_tts/ | |
CMD ["python3","/opt/text_to_speech_open_api/vakyansh-tts/src/glow_tts/server.py"] | |