mirror of
https://github.com/ahmetoner/whisper-asr-webservice.git
synced 2023-04-14 03:48:29 +03:00
Downgrade python (3.11 -> 3.10) version according to official whisper page
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
FROM python:3.11-slim
|
||||
FROM python:3.10-slim
|
||||
|
||||
ENV POETRY_VENV=/app/.venv
|
||||
|
||||
|
||||
@@ -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 \
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user