This commit is contained in:
SOULOFCINDER 2023-03-29 14:23:02 +08:00
parent 89a3a1d086
commit a05705142b
2 changed files with 3 additions and 2 deletions

View File

@ -22,8 +22,9 @@ RUN pip install --no-cache-dir openai==0.27.2
RUN pip install --no-cache-dir gradio==3.21.0
RUN pip install --no-cache-dir pip==22.3.1
RUN --mount=target=requirements.txt,source=requirements.txt pip install --no-cache-dir -r requirements.txt
RUN pip install /test .
COPY --chown=1000 ./ /home/user/app
RUN pip install whisper/.
CMD ["python3", "app.py"]

2
app.py
View File

@ -11,7 +11,7 @@ import requests
# UNCOMMENT TO USE WHISPER
import warnings
from chatgpt_langchain import whisper
import whisper
from langchain import ConversationChain, LLMChain