Downgrade python (3.11 -> 3.10) version according to official whisper page

This commit is contained in:
Ahmet Öner
2023-02-05 00:50:23 +01:00
parent 776e1aa6bc
commit 3f113779f8
3 changed files with 3 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
FROM python:3.11-slim
FROM python:3.10-slim
ENV POETRY_VENV=/app/.venv

View File

@@ -1,6 +1,6 @@
FROM nvidia/cuda:11.7.0-base-ubuntu22.04
ENV PYTHON_VERSION=3.11
ENV PYTHON_VERSION=3.10
ENV POETRY_VENV=/app/.venv
RUN export DEBIAN_FRONTEND=noninteractive \

View File

@@ -12,7 +12,7 @@ readme = "README.md"
packages = [{ include = "app" }]
[tool.poetry.dependencies]
python = "^3.11"
python = "^3.10"
unidecode = "^1.3.4"
uvicorn = { extras = ["standard"], version = "^0.18.2" }
gunicorn = "^20.1.0"