Skip to content

利用 AI 大模型和自动化工作流,根据主题或关键词一键生成高清短视频。Generate HD short videos from a topic or keyword with an automated AI workflow.

fix webui.bat and docker-compose.yml

harry91218ecf95ba
diff --git a/docker-compose.yml b/docker-compose.yml
index 7a69c427..2fc8a2b3 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -1,5 +1,3 @@
-version: "3"
-
x-common-volumes: &common-volumes
- ./:/MoneyPrinterTurbo
diff --git a/webui.bat b/webui.bat
index 03e54edf..fd975146 100644
--- a/webui.bat
+++ b/webui.bat
@@ -1,2 +1,7 @@
+@echo off
+set CURRENT_DIR=%CD%
+echo ***** Current directory: %CURRENT_DIR% *****
+set PYTHONPATH=%CURRENT_DIR%
+
rem set HF_ENDPOINT=https://hf-mirror.com
streamlit run .\webui\Main.py --browser.gatherUsageStats=False --server.enableCORS=True
\ No newline at end of file