Skip to content

Commit

Permalink
hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
lloydzhou committed Nov 14, 2023
1 parent 8fdf747 commit fb81280
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ FROM python:3.8-bullseye

RUN echo "start"
RUN sed -i "s@http://deb.debian.org@http://mirrors.aliyun.com@g" /etc/apt/sources.list
RUN sed -i "s@http://security.debian.org@http://mirrors.aliyun.com@g" /etc/apt/sources.list

RUN apt-get update && apt-get install -y libcurl4-openssl-dev libffi-dev libxml2-dev g++\
&& pip3 install torch==2.0.1+cpu torchvision==0.15.2+cpu -f https://download.pytorch.org/whl/torch_stable.html -i https://pypi.tuna.tsinghua.edu.cn/simple \
Expand Down
2 changes: 1 addition & 1 deletion server/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
)
from celery_app import embed_documents, get_status_by_id, embed_feishuwiki
from sse import ServerSentEvents
from tasks import LarkDocLoader, YuqueDocLoader
from tasks import LarkDocLoader, YuqueDocLoader, LarkWikiLoader


class InternalError(Exception): pass
Expand Down

0 comments on commit fb81280

Please sign in to comment.