Skip to content

Commit b1588e1

Browse files
committed
feat: modernize WebUI and generation workflows
- redesign the WebUI layout, settings, onboarding, and responsive styles - add task history, filtering, replay, deletion, and cache management - centralize LLM provider metadata, defaults, tips, and connection testing - migrate Gemini integrations from google-generativeai to google-genai - improve audio, subtitle, video codec, and generation state handling - expand CLI options and add the MoneyPrinterTurbo agent skill - refine multilingual UI copy and remove unsupported provider options - update Docker startup, configuration examples, screenshots, and docs - add regression coverage for WebUI, providers, tasks, CLI, and caching - bump the project version to v1.3.2
1 parent 649d4a9 commit b1588e1

56 files changed

Lines changed: 10196 additions & 3704 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
.DS_Store
22
/config.toml
3+
/config.toml.bak
34
/storage/
45
/.idea/
56
/app/services/__pycache__

Dockerfile

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ RUN if [ "$DOCKER_BUILD_MIRROR" = "china" ]; then \
2626
echo "Attempt $i: installing system dependencies"; \
2727
apt-get update && apt-get install -y --no-install-recommends \
2828
git \
29-
imagemagick \
3029
ffmpeg && break || \
3130
echo "Attempt $i failed, retrying..."; \
3231
if [ "$DOCKER_BUILD_MIRROR" = "china" ] && [ $i -eq 3 ]; then \
@@ -36,15 +35,13 @@ RUN if [ "$DOCKER_BUILD_MIRROR" = "china" ]; then \
3635
( \
3736
apt-get update && apt-get install -y --no-install-recommends \
3837
git \
39-
imagemagick \
4038
ffmpeg || \
4139
( \
4240
echo "Tsinghua mirror failed, switching to default Debian mirror"; \
4341
sed -i 's/mirrors.tuna.tsinghua.edu.cn/deb.debian.org/g' /etc/apt/sources.list && \
4442
sed -i 's/mirrors.tuna.tsinghua.edu.cn\/debian-security/security.debian.org/g' /etc/apt/sources.list; \
4543
apt-get update && apt-get install -y --no-install-recommends \
4644
git \
47-
imagemagick \
4845
ffmpeg; \
4946
); \
5047
); \
@@ -53,9 +50,6 @@ RUN if [ "$DOCKER_BUILD_MIRROR" = "china" ]; then \
5350
done \
5451
) && rm -rf /var/lib/apt/lists/*
5552

56-
# Fix security policy for ImageMagick
57-
RUN sed -i '/<policy domain="path" rights="none" pattern="@\*"/d' /etc/ImageMagick-6/policy.xml
58-
5953
# Copy only the requirements.txt first to leverage Docker cache
6054
COPY requirements.txt ./
6155

@@ -74,8 +68,9 @@ COPY . .
7468
# Expose the port the app runs on
7569
EXPOSE 8501
7670

77-
# Command to run the application
78-
CMD ["streamlit", "run", "./webui/Main.py","--browser.serverAddress=127.0.0.1","--server.enableCORS=True","--browser.gatherUsageStats=False","--server.showEmailPrompt=False"]
71+
# 容器内部必须监听 0.0.0.0,宿主机仍通过 docker 端口映射限制为 127.0.0.1。
72+
# browser.serverAddress 只决定浏览器展示的访问地址,不能替代 server.address。
73+
CMD ["streamlit", "run", "./webui/Main.py", "--server.address=0.0.0.0", "--server.port=8501", "--browser.serverAddress=127.0.0.1", "--server.enableCORS=True", "--browser.gatherUsageStats=False", "--client.toolbarMode=minimal", "--logger.hideWelcomeMessage=True", "--server.showEmailPrompt=False"]
7974

8075
# 1. Build the Docker image using the following command
8176
# docker build -t moneyprinterturbo .

Dockerfile.gpu

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ ENV PYTHONPATH="/MoneyPrinterTurbo"
1414
RUN apt-get update && apt-get install -y --no-install-recommends \
1515
software-properties-common \
1616
git \
17-
imagemagick \
1817
ffmpeg \
1918
curl \
2019
&& add-apt-repository ppa:deadsnakes/ppa \
@@ -29,9 +28,6 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
2928
&& apt-get remove -y python3-blinker || true \
3029
&& rm -rf /var/lib/apt/lists/*
3130

32-
# Fix security policy for ImageMagick
33-
RUN sed -i '/<policy domain="path" rights="none" pattern="@\*"/d' /etc/ImageMagick-6/policy.xml
34-
3531
# Copy only the requirements.txt first to leverage Docker cache
3632
COPY requirements.txt ./
3733

@@ -51,5 +47,6 @@ COPY . .
5147
# Expose the port the app runs on
5248
EXPOSE 8501
5349

54-
# Command to run the application
55-
CMD ["streamlit", "run", "./webui/Main.py","--browser.serverAddress=127.0.0.1","--server.enableCORS=True","--browser.gatherUsageStats=False","--server.showEmailPrompt=False"]
50+
# 容器内部必须监听 0.0.0.0,宿主机仍通过 docker 端口映射限制为 127.0.0.1。
51+
# browser.serverAddress 只决定浏览器展示的访问地址,不能替代 server.address。
52+
CMD ["streamlit", "run", "./webui/Main.py", "--server.address=0.0.0.0", "--server.port=8501", "--browser.serverAddress=127.0.0.1", "--server.enableCORS=True", "--browser.gatherUsageStats=False", "--client.toolbarMode=minimal", "--logger.hideWelcomeMessage=True", "--server.showEmailPrompt=False"]

0 commit comments

Comments
 (0)