Pin Cython for PyAV 10 build
This commit is contained in:
@@ -74,7 +74,9 @@ RUN ln -s -f /usr/bin/python${PYTHON_VERSION} /usr/bin/python3 && \
|
|||||||
# Python service setup
|
# Python service setup
|
||||||
COPY ./transcription-api /app/transcription
|
COPY ./transcription-api /app/transcription
|
||||||
WORKDIR /app/transcription
|
WORKDIR /app/transcription
|
||||||
RUN pip install -r requirements.txt && \
|
RUN pip install "Cython<3" wheel && \
|
||||||
|
pip install "av==10.0.0" --no-build-isolation && \
|
||||||
|
pip install -r requirements.txt && \
|
||||||
pip install python-multipart && \
|
pip install python-multipart && \
|
||||||
pip3 install torch --index-url https://download.pytorch.org/whl/cu118
|
pip3 install torch --index-url https://download.pytorch.org/whl/cu118
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user