[feat] 适配WSS输出

This commit is contained in:
Wizerd
2024-02-02 20:49:37 +08:00
parent 8a12b55856
commit f314ce9506
2 changed files with 773 additions and 813 deletions

View File

@@ -18,7 +18,7 @@ RUN apt update && apt install -y jq
# RUN pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
# 安装任何所需的依赖项
RUN pip install --no-cache-dir flask gunicorn requests Pillow flask-cors tiktoken fake_useragent redis
RUN pip install --no-cache-dir flask gunicorn requests Pillow flask-cors tiktoken fake_useragent redis websocket-client
# 在容器启动时运行 Flask 应用
CMD ["/app/start.sh"]

1584
main.py

File diff suppressed because it is too large Load Diff