diff --git a/Dockerfile b/Dockerfile index a6a1092..ff54d54 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM git.modelhub.org.cn:9443/enginex-iluvatar/bi100-3.2.1-x86-ubuntu20.04-py3.10-poc-llm-infer:20250731115755 +FROM git.modelhub.org.cn:9443/enginex-iluvatar/bi100-3.2.1-x86-ubuntu20.04-py3.10-poc-llm-infer:v1.2.2 WORKDIR /workspace @@ -8,4 +8,4 @@ RUN pip install --no-cache-dir -r requirements.txt -i https://pypi.tuna.tsinghua ADD . /workspace EXPOSE 80 -CMD ["sh","-c","python3 fastapi_translate.py"] +CMD ["sh", "-c", "python3 fastapi_translate.py"] diff --git a/test.py b/test.py index 0ec91d5..2f4d267 100644 --- a/test.py +++ b/test.py @@ -15,7 +15,6 @@ headers = { try: response = requests.post( url, - params=params, json=body, headers=headers )