Files
python-ai-video/README.md
2024-09-27 01:10:21 +08:00

35 lines
839 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

## 详细使用文档写完再写!
接口文档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