利用 AI 大模型和自动化工作流,根据主题或关键词一键生成高清短视频。Generate HD short videos from a topic or keyword with an automated AI workflow.
Python ai-video-generatorcontent-creationffmpeginstagram-reelsllmpythonshort-videosubtitlestext-to-speechtiktokvideo-automationvideo-workflowworkflow-automationyoutube-shorts
fix: isolate Colab dependencies with uv
Harry4d555b32cbfa
diff --git a/docs/MoneyPrinterTurbo.ipynb b/docs/MoneyPrinterTurbo.ipynbindex 9ec1087b..4c71710d 100644--- a/docs/MoneyPrinterTurbo.ipynb+++ b/docs/MoneyPrinterTurbo.ipynb@@ -28,8 +28,11 @@"source": ["!git clone https://github.com/harry0703/MoneyPrinterTurbo.git\n","%cd MoneyPrinterTurbo\n",- "!pip install -q -r requirements.txt\n",- "!pip install pyngrok --quiet"+ "!pip install -q uv pyngrok\n",+ "!uv python install 3.11\n",+ "# Colab 预装了 google-colab / google-genai / google-adk 等包,直接 pip install -r requirements.txt\n",+ "# 会覆盖全局依赖并触发版本冲突。这里使用 uv 为项目创建独立 .venv,避免影响 Colab 运行时。\n",+ "!uv sync --frozen --python 3.11"]},{@@ -85,9 +88,9 @@"import time\n","\n","print(\"🚀 Starting MoneyPrinterTurbo...\")\n",- "# Start Streamlit server on port 8501\n",+ "# 通过 uv run 进入项目 .venv,确保 Streamlit 使用上一步锁定的依赖版本。\n","streamlit_proc = subprocess.Popen([\n",- " \"streamlit\", \"run\", \"./webui/Main.py\", \"--server.port=8501\"\n",+ " \"uv\", \"run\", \"streamlit\", \"run\", \"./webui/Main.py\", \"--server.port=8501\", \"--server.address=0.0.0.0\"\n","])\n","\n","# Wait for the server to initialize\n",