first commit

This commit is contained in:
编码猿
2024-09-27 01:10:21 +08:00
commit 4bb91f7aa9
83 changed files with 952 additions and 0 deletions

35
README.md Normal file
View File

@@ -0,0 +1,35 @@
## 详细使用文档写完再写!
接口文档http://127.0.0.1:8000/docs。
fairseq 依赖 需要 windows 先安装 vs_BuildTools.exe
decord 用 eva-decord 替代
https://github.com/dmlc/decord/issues/213
python -B main.py
uvicorn main:app --reload
celery -A src.celery.main.app worker -l info -P eventlet
celery --broker=redis://:lb714500@127.0.0.1:6379/0 flower --port=5551
python -mvenv venv
source venv/bin/activate
windows redis 配置
redis-server.exe redis.windows.conf
# 卸载服务:
redis-server --service-uninstall
# 开启服务:
redis-server --service-start
# 停止服务:
redis-server --service-stop
# 重命名服务:
redis-server --service-name name
mac redis 配置
软件 /usr/local/Cellar/redis/7.2.4
redis的配置文件 /usr/local/etc/redis.conf
启动 redis-server /usr/local/etc/redis.conf