diff --git a/config/config.py b/config/config.py
index 48a6c65..d356c16 100644
--- a/config/config.py
+++ b/config/config.py
@@ -5,6 +5,8 @@
from tools.file_utils import read_yaml, save_yaml
+app_title = "AI搞钱工具"
+
local_audio_tts_providers = ['chatTTS', ]
local_audio_recognition_providers = ['fasterwhisper', ]
local_audio_recognition_fasterwhisper_module_names = ['large-v3', 'large-v2', 'large-v1', 'distil-large-v3',
diff --git a/gui.py b/gui.py
index 099f67c..a8fc94a 100644
--- a/gui.py
+++ b/gui.py
@@ -2,7 +2,7 @@
from config.config import my_config, save_config, languages, test_config, local_audio_tts_providers, \
local_audio_recognition_providers, local_audio_recognition_fasterwhisper_module_names, \
local_audio_recognition_fasterwhisper_device_types, local_audio_recognition_fasterwhisper_compute_types, \
- delete_first_visit_session_state
+ delete_first_visit_session_state, app_title
from pages.common import common_ui
from tools.tr_utils import tr
@@ -10,8 +10,8 @@
common_ui()
-st.markdown("
\
- AI搞钱工具
", unsafe_allow_html=True)
+st.markdown(f" \
+ {app_title}
", unsafe_allow_html=True)
st.markdown("基本配置信息
", unsafe_allow_html=True)
diff --git a/pages/01_auto_video.py b/pages/01_auto_video.py
index ef60390..254c0ab 100644
--- a/pages/01_auto_video.py
+++ b/pages/01_auto_video.py
@@ -1,7 +1,7 @@
import streamlit as st
from config.config import my_config, save_config, languages, audio_languages, transition_types, \
- fade_list, audio_types, load_session_state_from_yaml, save_session_state_to_yaml
+ fade_list, audio_types, load_session_state_from_yaml, save_session_state_to_yaml, app_title
from main import main_generate_video_content, main_generate_ai_video, main_generate_video_dubbing, \
main_get_video_resource, main_generate_subtitle, main_try_test_audio, get_audio_voices, main_try_test_local_audio
from pages.common import common_ui
@@ -69,8 +69,8 @@ def generate_video(video_generator):
main_generate_ai_video(video_generator)
-st.markdown(" \
- AI搞钱工具
", unsafe_allow_html=True)
+st.markdown(f" \
+ {app_title}
", unsafe_allow_html=True)
st.markdown("自动短视频生成器
", unsafe_allow_html=True)
# LLM区域
diff --git a/pages/02_merge_video.py b/pages/02_merge_video.py
index 0950bad..3d3a04f 100644
--- a/pages/02_merge_video.py
+++ b/pages/02_merge_video.py
@@ -3,7 +3,7 @@
import streamlit as st
from config.config import transition_types, fade_list, load_session_state_from_yaml, \
- save_session_state_to_yaml
+ save_session_state_to_yaml, app_title
from main import main_try_test_audio, main_try_test_local_audio, main_generate_ai_video_for_merge
from pages.common import common_ui
from tools.tr_utils import tr
@@ -73,8 +73,8 @@ def generate_video_for_merge(video_generator):
common_ui()
-st.markdown(" \
- AI搞钱工具
", unsafe_allow_html=True)
+st.markdown(f" \
+ {app_title}
", unsafe_allow_html=True)
st.markdown("视频批量合并工具
", unsafe_allow_html=True)
# 场景设置
diff --git a/pages/02_mix_video.py b/pages/02_mix_video.py
index 7d0a6b0..90210d1 100644
--- a/pages/02_mix_video.py
+++ b/pages/02_mix_video.py
@@ -3,7 +3,7 @@
import streamlit as st
from config.config import transition_types, fade_list, audio_languages, audio_types, load_session_state_from_yaml, \
- save_session_state_to_yaml
+ save_session_state_to_yaml, app_title
from main import main_generate_ai_video_for_mix, main_try_test_audio, get_audio_voices, main_try_test_local_audio
from pages.common import common_ui
from tools.tr_utils import tr
@@ -74,8 +74,8 @@ def generate_video_for_mix(video_generator):
common_ui()
-st.markdown(" \
- AI搞钱工具
", unsafe_allow_html=True)
+st.markdown(f" \
+ {app_title}
", unsafe_allow_html=True)
st.markdown("视频批量混剪工具
", unsafe_allow_html=True)
# 场景设置
diff --git a/pages/03_auto_publish.py b/pages/03_auto_publish.py
index d48466e..10303c8 100644
--- a/pages/03_auto_publish.py
+++ b/pages/03_auto_publish.py
@@ -3,7 +3,7 @@
import streamlit as st
from config.config import driver_types, my_config, save_config, test_config, load_session_state_from_yaml, \
- save_session_state_to_yaml
+ save_session_state_to_yaml, app_title
from pages.common import common_ui
from services.publisher.open_test import start_all_pages
from services.publisher.publish_video import publish_all, publish_file
@@ -216,8 +216,8 @@ def start_publish_video():
common_ui()
-st.markdown(" \
- AI搞钱工具
", unsafe_allow_html=True)
+st.markdown(f" \
+ {app_title}
", unsafe_allow_html=True)
st.markdown("视频批量自动发布工具
", unsafe_allow_html=True)
# 选择要发布的视频目录