代码拉取完成,页面将自动刷新
同步操作将从 Ikaros/AI-Vtuber 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'ui\main.ui'
#
# Created by: PyQt5 UI code generator 5.15.9
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again. Do not edit this file unless you know what you are doing.
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_MainWindow(object):
def setupUi(self, MainWindow):
MainWindow.setObjectName("MainWindow")
MainWindow.resize(1191, 834)
MainWindow.setStyleSheet("background-color: rgba(255, 255, 255, 50);")
self.centralwidget = QtWidgets.QWidget(MainWindow)
self.centralwidget.setObjectName("centralwidget")
self.gridLayout_20 = QtWidgets.QGridLayout(self.centralwidget)
self.gridLayout_20.setObjectName("gridLayout_20")
self.pushButton_run_page = QtWidgets.QPushButton(self.centralwidget)
self.pushButton_run_page.setCursor(QtGui.QCursor(QtCore.Qt.PointingHandCursor))
self.pushButton_run_page.setStyleSheet("border: 1px solid #dcdfe6;\n"
"background-color: #e6a23c;\n"
"text-align: center;\n"
"padding: 12px 16px;\n"
"border-radius: 4px;\n"
"font: 75 12pt \"微软雅黑\";")
self.pushButton_run_page.setObjectName("pushButton_run_page")
self.gridLayout_20.addWidget(self.pushButton_run_page, 4, 1, 1, 1)
self.pushButton_copywriting_page = QtWidgets.QPushButton(self.centralwidget)
self.pushButton_copywriting_page.setCursor(QtGui.QCursor(QtCore.Qt.PointingHandCursor))
self.pushButton_copywriting_page.setStyleSheet("border: 1px solid #dcdfe6;\n"
"background-color: #e6a23c;\n"
"text-align: center;\n"
"padding: 12px 16px;\n"
"border-radius: 4px;\n"
"font: 75 12pt \"微软雅黑\";")
self.pushButton_copywriting_page.setObjectName("pushButton_copywriting_page")
self.gridLayout_20.addWidget(self.pushButton_copywriting_page, 5, 1, 1, 1)
self.pushButton_run = QtWidgets.QPushButton(self.centralwidget)
self.pushButton_run.setCursor(QtGui.QCursor(QtCore.Qt.PointingHandCursor))
self.pushButton_run.setStyleSheet("border: 1px solid #dcdfe6;\n"
"background-color: rgba(103, 194, 58, 255);\n"
"text-align: center;\n"
"padding: 12px 16px;\n"
"border-radius: 4px;\n"
"font: 75 12pt \"微软雅黑\";")
self.pushButton_run.setObjectName("pushButton_run")
self.gridLayout_20.addWidget(self.pushButton_run, 1, 1, 1, 1)
self.pushButton_config_page = QtWidgets.QPushButton(self.centralwidget)
self.pushButton_config_page.setCursor(QtGui.QCursor(QtCore.Qt.PointingHandCursor))
self.pushButton_config_page.setStyleSheet("border: 1px solid #dcdfe6;\n"
"background-color: #e6a23c;\n"
"text-align: center;\n"
"padding: 12px 16px;\n"
"border-radius: 4px;\n"
"font: 75 12pt \"微软雅黑\";")
self.pushButton_config_page.setObjectName("pushButton_config_page")
self.gridLayout_20.addWidget(self.pushButton_config_page, 3, 1, 1, 1)
self.pushButton_save = QtWidgets.QPushButton(self.centralwidget)
self.pushButton_save.setCursor(QtGui.QCursor(QtCore.Qt.PointingHandCursor))
self.pushButton_save.setStyleSheet("border: 1px solid #dcdfe6;\n"
"background-color: rgba(64, 158, 255, 255);\n"
"text-align: center;\n"
"padding: 12px 16px;\n"
"border-radius: 4px;\n"
"font: 75 12pt \"微软雅黑\";")
self.pushButton_save.setObjectName("pushButton_save")
self.gridLayout_20.addWidget(self.pushButton_save, 0, 1, 1, 1)
self.stackedWidget = QtWidgets.QStackedWidget(self.centralwidget)
self.stackedWidget.setStyleSheet("background-color: rgba(255, 255, 255, 0);\n"
"")
self.stackedWidget.setObjectName("stackedWidget")
self.page = QtWidgets.QWidget()
self.page.setObjectName("page")
self.gridLayout_21 = QtWidgets.QGridLayout(self.page)
self.gridLayout_21.setObjectName("gridLayout_21")
self.scrollArea = QtWidgets.QScrollArea(self.page)
self.scrollArea.setStyleSheet("font: 75 14pt \"微软雅黑\";\n"
"background-color: rgba(255, 255, 255, 50);\n"
"")
self.scrollArea.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAsNeeded)
self.scrollArea.setWidgetResizable(True)
self.scrollArea.setObjectName("scrollArea")
self.scrollAreaWidgetContents = QtWidgets.QWidget()
self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, -8653, 984, 9496))
self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents")
self.verticalLayout = QtWidgets.QVBoxLayout(self.scrollAreaWidgetContents)
self.verticalLayout.setContentsMargins(35, 20, 35, 20)
self.verticalLayout.setSpacing(20)
self.verticalLayout.setObjectName("verticalLayout")
self.formWidget = QtWidgets.QWidget(self.scrollAreaWidgetContents)
self.formWidget.setStyleSheet("background-color: rgba(255, 255, 255, 0);")
self.formWidget.setObjectName("formWidget")
self.gridLayout = QtWidgets.QGridLayout(self.formWidget)
self.gridLayout.setContentsMargins(0, 0, 0, 0)
self.gridLayout.setObjectName("gridLayout")
self.label_chat_type = QtWidgets.QLabel(self.formWidget)
self.label_chat_type.setObjectName("label_chat_type")
self.gridLayout.addWidget(self.label_chat_type, 2, 0, 1, 1)
self.label_platform = QtWidgets.QLabel(self.formWidget)
self.label_platform.setAutoFillBackground(False)
self.label_platform.setObjectName("label_platform")
self.gridLayout.addWidget(self.label_platform, 0, 0, 1, 1)
self.lineEdit_after_prompt = QtWidgets.QLineEdit(self.formWidget)
self.lineEdit_after_prompt.setObjectName("lineEdit_after_prompt")
self.gridLayout.addWidget(self.lineEdit_after_prompt, 5, 1, 1, 1)
self.comboBox_platform = QtWidgets.QComboBox(self.formWidget)
self.comboBox_platform.setCursor(QtGui.QCursor(QtCore.Qt.PointingHandCursor))
self.comboBox_platform.setObjectName("comboBox_platform")
self.gridLayout.addWidget(self.comboBox_platform, 0, 1, 1, 1)
self.label_need_lang = QtWidgets.QLabel(self.formWidget)
self.label_need_lang.setObjectName("label_need_lang")
self.gridLayout.addWidget(self.label_need_lang, 3, 0, 1, 1)
self.groupBox_read_user_name = QtWidgets.QGroupBox(self.formWidget)
self.groupBox_read_user_name.setObjectName("groupBox_read_user_name")
self.gridLayout_59 = QtWidgets.QGridLayout(self.groupBox_read_user_name)
self.gridLayout_59.setObjectName("gridLayout_59")
self.gridLayout_58 = QtWidgets.QGridLayout()
self.gridLayout_58.setObjectName("gridLayout_58")
self.label_read_user_name_reply_before = QtWidgets.QLabel(self.groupBox_read_user_name)
self.label_read_user_name_reply_before.setObjectName("label_read_user_name_reply_before")
self.gridLayout_58.addWidget(self.label_read_user_name_reply_before, 2, 0, 1, 1)
self.textEdit_read_user_name_reply_before = QtWidgets.QTextEdit(self.groupBox_read_user_name)
self.textEdit_read_user_name_reply_before.setObjectName("textEdit_read_user_name_reply_before")
self.gridLayout_58.addWidget(self.textEdit_read_user_name_reply_before, 2, 1, 1, 1)
self.label_read_user_name_enable = QtWidgets.QLabel(self.groupBox_read_user_name)
self.label_read_user_name_enable.setObjectName("label_read_user_name_enable")
self.gridLayout_58.addWidget(self.label_read_user_name_enable, 0, 0, 1, 1)
self.checkBox_read_user_name_enable = QtWidgets.QCheckBox(self.groupBox_read_user_name)
self.checkBox_read_user_name_enable.setObjectName("checkBox_read_user_name_enable")
self.gridLayout_58.addWidget(self.checkBox_read_user_name_enable, 0, 1, 1, 1)
self.label_read_user_name_voice_change = QtWidgets.QLabel(self.groupBox_read_user_name)
self.label_read_user_name_voice_change.setObjectName("label_read_user_name_voice_change")
self.gridLayout_58.addWidget(self.label_read_user_name_voice_change, 1, 0, 1, 1)
self.checkBox_read_user_name_voice_change = QtWidgets.QCheckBox(self.groupBox_read_user_name)
self.checkBox_read_user_name_voice_change.setObjectName("checkBox_read_user_name_voice_change")
self.gridLayout_58.addWidget(self.checkBox_read_user_name_voice_change, 1, 1, 1, 1)
self.label_read_user_name_reply_after = QtWidgets.QLabel(self.groupBox_read_user_name)
self.label_read_user_name_reply_after.setObjectName("label_read_user_name_reply_after")
self.gridLayout_58.addWidget(self.label_read_user_name_reply_after, 3, 0, 1, 1)
self.textEdit_read_user_name_reply_after = QtWidgets.QTextEdit(self.groupBox_read_user_name)
self.textEdit_read_user_name_reply_after.setObjectName("textEdit_read_user_name_reply_after")
self.gridLayout_58.addWidget(self.textEdit_read_user_name_reply_after, 3, 1, 1, 1)
self.gridLayout_59.addLayout(self.gridLayout_58, 0, 0, 1, 1)
self.gridLayout.addWidget(self.groupBox_read_user_name, 15, 0, 1, 2)
self.groupBox_show_box = QtWidgets.QGroupBox(self.formWidget)
self.groupBox_show_box.setObjectName("groupBox_show_box")
self.gridLayout_62 = QtWidgets.QGridLayout(self.groupBox_show_box)
self.gridLayout_62.setObjectName("gridLayout_62")
self.gridLayout_show_box = QtWidgets.QGridLayout()
self.gridLayout_show_box.setObjectName("gridLayout_show_box")
self.gridLayout_62.addLayout(self.gridLayout_show_box, 0, 0, 1, 1)
self.gridLayout.addWidget(self.groupBox_show_box, 12, 0, 1, 2)
self.groupBox_claude2 = QtWidgets.QGroupBox(self.formWidget)
self.groupBox_claude2.setObjectName("groupBox_claude2")
self.gridLayout_65 = QtWidgets.QGridLayout(self.groupBox_claude2)
self.gridLayout_65.setObjectName("gridLayout_65")
self.gridLayout_60 = QtWidgets.QGridLayout()
self.gridLayout_60.setObjectName("gridLayout_60")
self.lineEdit_claude2_cookie = QtWidgets.QLineEdit(self.groupBox_claude2)
self.lineEdit_claude2_cookie.setObjectName("lineEdit_claude2_cookie")
self.gridLayout_60.addWidget(self.lineEdit_claude2_cookie, 0, 1, 1, 1)
self.lineEdit_claude2_proxies_socks5 = QtWidgets.QLineEdit(self.groupBox_claude2)
self.lineEdit_claude2_proxies_socks5.setObjectName("lineEdit_claude2_proxies_socks5")
self.gridLayout_60.addWidget(self.lineEdit_claude2_proxies_socks5, 4, 1, 1, 1)
self.label_claude2_proxies_https = QtWidgets.QLabel(self.groupBox_claude2)
self.label_claude2_proxies_https.setObjectName("label_claude2_proxies_https")
self.gridLayout_60.addWidget(self.label_claude2_proxies_https, 3, 0, 1, 1)
self.label_claude2_proxies_socks5 = QtWidgets.QLabel(self.groupBox_claude2)
self.label_claude2_proxies_socks5.setObjectName("label_claude2_proxies_socks5")
self.gridLayout_60.addWidget(self.label_claude2_proxies_socks5, 4, 0, 1, 1)
self.checkBox_claude2_use_proxy = QtWidgets.QCheckBox(self.groupBox_claude2)
self.checkBox_claude2_use_proxy.setObjectName("checkBox_claude2_use_proxy")
self.gridLayout_60.addWidget(self.checkBox_claude2_use_proxy, 1, 1, 1, 1)
self.label_claude2_cookie = QtWidgets.QLabel(self.groupBox_claude2)
self.label_claude2_cookie.setObjectName("label_claude2_cookie")
self.gridLayout_60.addWidget(self.label_claude2_cookie, 0, 0, 1, 1)
self.label_claude2_use_proxy = QtWidgets.QLabel(self.groupBox_claude2)
self.label_claude2_use_proxy.setObjectName("label_claude2_use_proxy")
self.gridLayout_60.addWidget(self.label_claude2_use_proxy, 1, 0, 1, 1)
self.label_claude2_proxies_http = QtWidgets.QLabel(self.groupBox_claude2)
self.label_claude2_proxies_http.setObjectName("label_claude2_proxies_http")
self.gridLayout_60.addWidget(self.label_claude2_proxies_http, 2, 0, 1, 1)
self.lineEdit_claude2_proxies_https = QtWidgets.QLineEdit(self.groupBox_claude2)
self.lineEdit_claude2_proxies_https.setObjectName("lineEdit_claude2_proxies_https")
self.gridLayout_60.addWidget(self.lineEdit_claude2_proxies_https, 3, 1, 1, 1)
self.lineEdit_claude2_proxies_http = QtWidgets.QLineEdit(self.groupBox_claude2)
self.lineEdit_claude2_proxies_http.setObjectName("lineEdit_claude2_proxies_http")
self.gridLayout_60.addWidget(self.lineEdit_claude2_proxies_http, 2, 1, 1, 1)
self.gridLayout_65.addLayout(self.gridLayout_60, 0, 0, 1, 1)
self.gridLayout.addWidget(self.groupBox_claude2, 29, 0, 1, 3)
self.comboBox_audio_synthesis_type = QtWidgets.QComboBox(self.formWidget)
self.comboBox_audio_synthesis_type.setCursor(QtGui.QCursor(QtCore.Qt.PointingHandCursor))
self.comboBox_audio_synthesis_type.setObjectName("comboBox_audio_synthesis_type")
self.gridLayout.addWidget(self.comboBox_audio_synthesis_type, 10, 1, 1, 1)
self.groupBox_chatgpt = QtWidgets.QGroupBox(self.formWidget)
self.groupBox_chatgpt.setObjectName("groupBox_chatgpt")
self.gridLayout_5 = QtWidgets.QGridLayout(self.groupBox_chatgpt)
self.gridLayout_5.setObjectName("gridLayout_5")
self.gridLayout_3 = QtWidgets.QGridLayout()
self.gridLayout_3.setObjectName("gridLayout_3")
self.lineEdit_chatgpt_max_tokens = QtWidgets.QLineEdit(self.groupBox_chatgpt)
self.lineEdit_chatgpt_max_tokens.setObjectName("lineEdit_chatgpt_max_tokens")
self.gridLayout_3.addWidget(self.lineEdit_chatgpt_max_tokens, 2, 1, 1, 1)
self.label_chatgpt_model = QtWidgets.QLabel(self.groupBox_chatgpt)
self.label_chatgpt_model.setObjectName("label_chatgpt_model")
self.gridLayout_3.addWidget(self.label_chatgpt_model, 0, 0, 1, 1)
self.label_chatgpt_max_tokens = QtWidgets.QLabel(self.groupBox_chatgpt)
self.label_chatgpt_max_tokens.setObjectName("label_chatgpt_max_tokens")
self.gridLayout_3.addWidget(self.label_chatgpt_max_tokens, 2, 0, 1, 1)
self.lineEdit_chatgpt_presence_penalty = QtWidgets.QLineEdit(self.groupBox_chatgpt)
self.lineEdit_chatgpt_presence_penalty.setObjectName("lineEdit_chatgpt_presence_penalty")
self.gridLayout_3.addWidget(self.lineEdit_chatgpt_presence_penalty, 4, 1, 1, 1)
self.label_chatgpt_temperature = QtWidgets.QLabel(self.groupBox_chatgpt)
self.label_chatgpt_temperature.setObjectName("label_chatgpt_temperature")
self.gridLayout_3.addWidget(self.label_chatgpt_temperature, 1, 0, 1, 1)
self.label_chatgpt_top_p = QtWidgets.QLabel(self.groupBox_chatgpt)
self.label_chatgpt_top_p.setObjectName("label_chatgpt_top_p")
self.gridLayout_3.addWidget(self.label_chatgpt_top_p, 3, 0, 1, 1)
self.lineEdit_chatgpt_top_p = QtWidgets.QLineEdit(self.groupBox_chatgpt)
self.lineEdit_chatgpt_top_p.setObjectName("lineEdit_chatgpt_top_p")
self.gridLayout_3.addWidget(self.lineEdit_chatgpt_top_p, 3, 1, 1, 1)
self.lineEdit_chatgpt_temperature = QtWidgets.QLineEdit(self.groupBox_chatgpt)
self.lineEdit_chatgpt_temperature.setObjectName("lineEdit_chatgpt_temperature")
self.gridLayout_3.addWidget(self.lineEdit_chatgpt_temperature, 1, 1, 1, 1)
self.label_chatgpt_frequency_penalty = QtWidgets.QLabel(self.groupBox_chatgpt)
self.label_chatgpt_frequency_penalty.setObjectName("label_chatgpt_frequency_penalty")
self.gridLayout_3.addWidget(self.label_chatgpt_frequency_penalty, 5, 0, 1, 1)
self.lineEdit_chatgpt_frequency_penalty = QtWidgets.QLineEdit(self.groupBox_chatgpt)
self.lineEdit_chatgpt_frequency_penalty.setObjectName("lineEdit_chatgpt_frequency_penalty")
self.gridLayout_3.addWidget(self.lineEdit_chatgpt_frequency_penalty, 5, 1, 1, 1)
self.label_chatgpt_presence_penalty = QtWidgets.QLabel(self.groupBox_chatgpt)
self.label_chatgpt_presence_penalty.setObjectName("label_chatgpt_presence_penalty")
self.gridLayout_3.addWidget(self.label_chatgpt_presence_penalty, 4, 0, 1, 1)
self.label_chatgpt_preset = QtWidgets.QLabel(self.groupBox_chatgpt)
self.label_chatgpt_preset.setObjectName("label_chatgpt_preset")
self.gridLayout_3.addWidget(self.label_chatgpt_preset, 6, 0, 1, 1)
self.lineEdit_chatgpt_preset = QtWidgets.QLineEdit(self.groupBox_chatgpt)
self.lineEdit_chatgpt_preset.setObjectName("lineEdit_chatgpt_preset")
self.gridLayout_3.addWidget(self.lineEdit_chatgpt_preset, 6, 1, 1, 1)
self.comboBox_chatgpt_model = QtWidgets.QComboBox(self.groupBox_chatgpt)
self.comboBox_chatgpt_model.setObjectName("comboBox_chatgpt_model")
self.comboBox_chatgpt_model.addItem("")
self.comboBox_chatgpt_model.addItem("")
self.comboBox_chatgpt_model.addItem("")
self.comboBox_chatgpt_model.addItem("")
self.comboBox_chatgpt_model.addItem("")
self.comboBox_chatgpt_model.addItem("")
self.comboBox_chatgpt_model.addItem("")
self.comboBox_chatgpt_model.addItem("")
self.comboBox_chatgpt_model.addItem("")
self.comboBox_chatgpt_model.addItem("")
self.comboBox_chatgpt_model.addItem("")
self.comboBox_chatgpt_model.addItem("")
self.comboBox_chatgpt_model.addItem("")
self.comboBox_chatgpt_model.addItem("")
self.comboBox_chatgpt_model.addItem("")
self.comboBox_chatgpt_model.addItem("")
self.comboBox_chatgpt_model.addItem("")
self.comboBox_chatgpt_model.addItem("")
self.comboBox_chatgpt_model.addItem("")
self.gridLayout_3.addWidget(self.comboBox_chatgpt_model, 0, 1, 1, 1)
self.gridLayout_5.addLayout(self.gridLayout_3, 0, 0, 1, 1)
self.gridLayout.addWidget(self.groupBox_chatgpt, 26, 0, 2, 3)
self.groupBox_chatglm = QtWidgets.QGroupBox(self.formWidget)
self.groupBox_chatglm.setObjectName("groupBox_chatglm")
self.gridLayout_9 = QtWidgets.QGridLayout(self.groupBox_chatglm)
self.gridLayout_9.setObjectName("gridLayout_9")
self.gridLayout_8 = QtWidgets.QGridLayout()
self.gridLayout_8.setObjectName("gridLayout_8")
self.label_chatglm_api_ip_port = QtWidgets.QLabel(self.groupBox_chatglm)
self.label_chatglm_api_ip_port.setObjectName("label_chatglm_api_ip_port")
self.gridLayout_8.addWidget(self.label_chatglm_api_ip_port, 0, 0, 1, 1)
self.lineEdit_chatglm_top_p = QtWidgets.QLineEdit(self.groupBox_chatglm)
self.lineEdit_chatglm_top_p.setObjectName("lineEdit_chatglm_top_p")
self.gridLayout_8.addWidget(self.lineEdit_chatglm_top_p, 2, 1, 1, 1)
self.label_chatglm_history_max_len = QtWidgets.QLabel(self.groupBox_chatglm)
self.label_chatglm_history_max_len.setObjectName("label_chatglm_history_max_len")
self.gridLayout_8.addWidget(self.label_chatglm_history_max_len, 5, 0, 1, 1)
self.lineEdit_chatglm_max_length = QtWidgets.QLineEdit(self.groupBox_chatglm)
self.lineEdit_chatglm_max_length.setObjectName("lineEdit_chatglm_max_length")
self.gridLayout_8.addWidget(self.lineEdit_chatglm_max_length, 1, 1, 1, 1)
self.label_chatglm_top_p = QtWidgets.QLabel(self.groupBox_chatglm)
self.label_chatglm_top_p.setObjectName("label_chatglm_top_p")
self.gridLayout_8.addWidget(self.label_chatglm_top_p, 2, 0, 1, 1)
self.label_chatglm_temperature = QtWidgets.QLabel(self.groupBox_chatglm)
self.label_chatglm_temperature.setObjectName("label_chatglm_temperature")
self.gridLayout_8.addWidget(self.label_chatglm_temperature, 3, 0, 1, 1)
self.lineEdit_chatglm_temperature = QtWidgets.QLineEdit(self.groupBox_chatglm)
self.lineEdit_chatglm_temperature.setObjectName("lineEdit_chatglm_temperature")
self.gridLayout_8.addWidget(self.lineEdit_chatglm_temperature, 3, 1, 1, 1)
self.lineEdit_chatglm_api_ip_port = QtWidgets.QLineEdit(self.groupBox_chatglm)
self.lineEdit_chatglm_api_ip_port.setObjectName("lineEdit_chatglm_api_ip_port")
self.gridLayout_8.addWidget(self.lineEdit_chatglm_api_ip_port, 0, 1, 1, 1)
self.label_chatglm_max_length = QtWidgets.QLabel(self.groupBox_chatglm)
self.label_chatglm_max_length.setObjectName("label_chatglm_max_length")
self.gridLayout_8.addWidget(self.label_chatglm_max_length, 1, 0, 1, 1)
self.label_chatglm_history_enable = QtWidgets.QLabel(self.groupBox_chatglm)
self.label_chatglm_history_enable.setObjectName("label_chatglm_history_enable")
self.gridLayout_8.addWidget(self.label_chatglm_history_enable, 4, 0, 1, 1)
self.checkBox_chatglm_history_enable = QtWidgets.QCheckBox(self.groupBox_chatglm)
self.checkBox_chatglm_history_enable.setObjectName("checkBox_chatglm_history_enable")
self.gridLayout_8.addWidget(self.checkBox_chatglm_history_enable, 4, 1, 1, 1)
self.lineEdit_chatglm_history_max_len = QtWidgets.QLineEdit(self.groupBox_chatglm)
self.lineEdit_chatglm_history_max_len.setObjectName("lineEdit_chatglm_history_max_len")
self.gridLayout_8.addWidget(self.lineEdit_chatglm_history_max_len, 5, 1, 1, 1)
self.gridLayout_9.addLayout(self.gridLayout_8, 0, 0, 1, 1)
self.gridLayout.addWidget(self.groupBox_chatglm, 30, 0, 1, 3)
self.label_after_prompt = QtWidgets.QLabel(self.formWidget)
self.label_after_prompt.setObjectName("label_after_prompt")
self.gridLayout.addWidget(self.label_after_prompt, 5, 0, 1, 1)
self.label_room_display_id = QtWidgets.QLabel(self.formWidget)
self.label_room_display_id.setObjectName("label_room_display_id")
self.gridLayout.addWidget(self.label_room_display_id, 1, 0, 1, 1)
self.groupBox_openai = QtWidgets.QGroupBox(self.formWidget)
self.groupBox_openai.setObjectName("groupBox_openai")
self.gridLayout_4 = QtWidgets.QGridLayout(self.groupBox_openai)
self.gridLayout_4.setObjectName("gridLayout_4")
self.gridLayout_2 = QtWidgets.QGridLayout()
self.gridLayout_2.setSpacing(2)
self.gridLayout_2.setObjectName("gridLayout_2")
self.label_openai_api = QtWidgets.QLabel(self.groupBox_openai)
self.label_openai_api.setObjectName("label_openai_api")
self.gridLayout_2.addWidget(self.label_openai_api, 0, 0, 1, 1)
self.lineEdit_openai_api = QtWidgets.QLineEdit(self.groupBox_openai)
self.lineEdit_openai_api.setObjectName("lineEdit_openai_api")
self.gridLayout_2.addWidget(self.lineEdit_openai_api, 0, 2, 1, 1)
self.label_openai_api_key = QtWidgets.QLabel(self.groupBox_openai)
self.label_openai_api_key.setObjectName("label_openai_api_key")
self.gridLayout_2.addWidget(self.label_openai_api_key, 1, 0, 1, 1)
self.textEdit_openai_api_key = QtWidgets.QTextEdit(self.groupBox_openai)
self.textEdit_openai_api_key.setObjectName("textEdit_openai_api_key")
self.gridLayout_2.addWidget(self.textEdit_openai_api_key, 1, 1, 1, 2)
self.gridLayout_4.addLayout(self.gridLayout_2, 0, 0, 1, 1)
self.gridLayout.addWidget(self.groupBox_openai, 24, 0, 1, 3)
self.lineEdit_before_prompt = QtWidgets.QLineEdit(self.formWidget)
self.lineEdit_before_prompt.setObjectName("lineEdit_before_prompt")
self.gridLayout.addWidget(self.lineEdit_before_prompt, 4, 1, 1, 1)
self.groupBox_log = QtWidgets.QGroupBox(self.formWidget)
self.groupBox_log.setObjectName("groupBox_log")
self.gridLayout_47 = QtWidgets.QGridLayout(self.groupBox_log)
self.gridLayout_47.setObjectName("gridLayout_47")
self.gridLayout_46 = QtWidgets.QGridLayout()
self.gridLayout_46.setObjectName("gridLayout_46")
self.comboBox_comment_log_type = QtWidgets.QComboBox(self.groupBox_log)
self.comboBox_comment_log_type.setObjectName("comboBox_comment_log_type")
self.comboBox_comment_log_type.addItem("")
self.comboBox_comment_log_type.addItem("")
self.comboBox_comment_log_type.addItem("")
self.comboBox_comment_log_type.addItem("")
self.gridLayout_46.addWidget(self.comboBox_comment_log_type, 1, 1, 1, 1)
self.label_comment_log_type = QtWidgets.QLabel(self.groupBox_log)
self.label_comment_log_type.setObjectName("label_comment_log_type")
self.gridLayout_46.addWidget(self.label_comment_log_type, 1, 0, 1, 1)
self.label_captions_file_path = QtWidgets.QLabel(self.groupBox_log)
self.label_captions_file_path.setObjectName("label_captions_file_path")
self.gridLayout_46.addWidget(self.label_captions_file_path, 3, 0, 1, 1)
self.lineEdit_captions_file_path = QtWidgets.QLineEdit(self.groupBox_log)
self.lineEdit_captions_file_path.setObjectName("lineEdit_captions_file_path")
self.gridLayout_46.addWidget(self.lineEdit_captions_file_path, 3, 1, 1, 1)
self.label_captions_enable = QtWidgets.QLabel(self.groupBox_log)
self.label_captions_enable.setObjectName("label_captions_enable")
self.gridLayout_46.addWidget(self.label_captions_enable, 2, 0, 1, 1)
self.checkBox_captions_enable = QtWidgets.QCheckBox(self.groupBox_log)
self.checkBox_captions_enable.setObjectName("checkBox_captions_enable")
self.gridLayout_46.addWidget(self.checkBox_captions_enable, 2, 1, 1, 1)
self.gridLayout_46.setColumnStretch(0, 1)
self.gridLayout_46.setColumnStretch(1, 5)
self.gridLayout_47.addLayout(self.gridLayout_46, 0, 0, 1, 1)
self.gridLayout.addWidget(self.groupBox_log, 16, 0, 1, 3)
self.groupBox_claude = QtWidgets.QGroupBox(self.formWidget)
self.groupBox_claude.setObjectName("groupBox_claude")
self.gridLayout_7 = QtWidgets.QGridLayout(self.groupBox_claude)
self.gridLayout_7.setObjectName("gridLayout_7")
self.gridLayout_6 = QtWidgets.QGridLayout()
self.gridLayout_6.setObjectName("gridLayout_6")
self.lineEdit_claude_slack_user_token = QtWidgets.QLineEdit(self.groupBox_claude)
self.lineEdit_claude_slack_user_token.setObjectName("lineEdit_claude_slack_user_token")
self.gridLayout_6.addWidget(self.lineEdit_claude_slack_user_token, 1, 1, 1, 1)
self.label_claude_slack_user_token = QtWidgets.QLabel(self.groupBox_claude)
self.label_claude_slack_user_token.setObjectName("label_claude_slack_user_token")
self.gridLayout_6.addWidget(self.label_claude_slack_user_token, 1, 0, 1, 1)
self.label_claude_bot_user_id = QtWidgets.QLabel(self.groupBox_claude)
self.label_claude_bot_user_id.setObjectName("label_claude_bot_user_id")
self.gridLayout_6.addWidget(self.label_claude_bot_user_id, 2, 0, 1, 1)
self.lineEdit_claude_bot_user_id = QtWidgets.QLineEdit(self.groupBox_claude)
self.lineEdit_claude_bot_user_id.setObjectName("lineEdit_claude_bot_user_id")
self.gridLayout_6.addWidget(self.lineEdit_claude_bot_user_id, 2, 1, 1, 1)
self.gridLayout_7.addLayout(self.gridLayout_6, 0, 0, 1, 1)
self.gridLayout.addWidget(self.groupBox_claude, 28, 0, 1, 3)
self.comboBox_need_lang = QtWidgets.QComboBox(self.formWidget)
self.comboBox_need_lang.setCursor(QtGui.QCursor(QtCore.Qt.PointingHandCursor))
self.comboBox_need_lang.setObjectName("comboBox_need_lang")
self.comboBox_need_lang.addItem("")
self.comboBox_need_lang.addItem("")
self.comboBox_need_lang.addItem("")
self.comboBox_need_lang.addItem("")
self.gridLayout.addWidget(self.comboBox_need_lang, 3, 1, 1, 1)
self.comboBox_chat_type = QtWidgets.QComboBox(self.formWidget)
self.comboBox_chat_type.setCursor(QtGui.QCursor(QtCore.Qt.PointingHandCursor))
self.comboBox_chat_type.setObjectName("comboBox_chat_type")
self.comboBox_chat_type.addItem("")
self.comboBox_chat_type.addItem("")
self.comboBox_chat_type.addItem("")
self.comboBox_chat_type.addItem("")
self.comboBox_chat_type.addItem("")
self.comboBox_chat_type.addItem("")
self.comboBox_chat_type.addItem("")
self.comboBox_chat_type.addItem("")
self.comboBox_chat_type.addItem("")
self.comboBox_chat_type.addItem("")
self.gridLayout.addWidget(self.comboBox_chat_type, 2, 1, 1, 1)
self.label_audio_synthesis_type = QtWidgets.QLabel(self.formWidget)
self.label_audio_synthesis_type.setObjectName("label_audio_synthesis_type")
self.gridLayout.addWidget(self.label_audio_synthesis_type, 10, 0, 1, 1)
self.groupBox_local_qa = QtWidgets.QGroupBox(self.formWidget)
self.groupBox_local_qa.setObjectName("groupBox_local_qa")
self.gridLayout_51 = QtWidgets.QGridLayout(self.groupBox_local_qa)
self.gridLayout_51.setObjectName("gridLayout_51")
self.gridLayout_50 = QtWidgets.QGridLayout()
self.gridLayout_50.setObjectName("gridLayout_50")
self.label_local_qa_audio_enable = QtWidgets.QLabel(self.groupBox_local_qa)
self.label_local_qa_audio_enable.setObjectName("label_local_qa_audio_enable")
self.gridLayout_50.addWidget(self.label_local_qa_audio_enable, 4, 0, 1, 1)
self.label_local_qa_text_enable = QtWidgets.QLabel(self.groupBox_local_qa)
self.label_local_qa_text_enable.setObjectName("label_local_qa_text_enable")
self.gridLayout_50.addWidget(self.label_local_qa_text_enable, 0, 0, 1, 1)
self.checkBox_local_qa_text_enable = QtWidgets.QCheckBox(self.groupBox_local_qa)
self.checkBox_local_qa_text_enable.setObjectName("checkBox_local_qa_text_enable")
self.gridLayout_50.addWidget(self.checkBox_local_qa_text_enable, 0, 1, 1, 1)
self.lineEdit_local_qa_text_file_path = QtWidgets.QLineEdit(self.groupBox_local_qa)
self.lineEdit_local_qa_text_file_path.setObjectName("lineEdit_local_qa_text_file_path")
self.gridLayout_50.addWidget(self.lineEdit_local_qa_text_file_path, 2, 1, 1, 1)
self.label_local_qa_audio_similarity = QtWidgets.QLabel(self.groupBox_local_qa)
self.label_local_qa_audio_similarity.setObjectName("label_local_qa_audio_similarity")
self.gridLayout_50.addWidget(self.label_local_qa_audio_similarity, 6, 0, 1, 1)
self.checkBox_local_qa_audio_enable = QtWidgets.QCheckBox(self.groupBox_local_qa)
self.checkBox_local_qa_audio_enable.setObjectName("checkBox_local_qa_audio_enable")
self.gridLayout_50.addWidget(self.checkBox_local_qa_audio_enable, 4, 1, 1, 1)
self.label_local_qa_text_similarity = QtWidgets.QLabel(self.groupBox_local_qa)
self.label_local_qa_text_similarity.setObjectName("label_local_qa_text_similarity")
self.gridLayout_50.addWidget(self.label_local_qa_text_similarity, 3, 0, 1, 1)
self.lineEdit_local_qa_audio_file_path = QtWidgets.QLineEdit(self.groupBox_local_qa)
self.lineEdit_local_qa_audio_file_path.setObjectName("lineEdit_local_qa_audio_file_path")
self.gridLayout_50.addWidget(self.lineEdit_local_qa_audio_file_path, 5, 1, 1, 1)
self.label_local_qa_audio_file_path = QtWidgets.QLabel(self.groupBox_local_qa)
self.label_local_qa_audio_file_path.setObjectName("label_local_qa_audio_file_path")
self.gridLayout_50.addWidget(self.label_local_qa_audio_file_path, 5, 0, 1, 1)
self.label_local_qa_text_file_path = QtWidgets.QLabel(self.groupBox_local_qa)
self.label_local_qa_text_file_path.setObjectName("label_local_qa_text_file_path")
self.gridLayout_50.addWidget(self.label_local_qa_text_file_path, 2, 0, 1, 1)
self.lineEdit_local_qa_text_similarity = QtWidgets.QLineEdit(self.groupBox_local_qa)
self.lineEdit_local_qa_text_similarity.setObjectName("lineEdit_local_qa_text_similarity")
self.gridLayout_50.addWidget(self.lineEdit_local_qa_text_similarity, 3, 1, 1, 1)
self.lineEdit_local_qa_audio_similarity = QtWidgets.QLineEdit(self.groupBox_local_qa)
self.lineEdit_local_qa_audio_similarity.setObjectName("lineEdit_local_qa_audio_similarity")
self.gridLayout_50.addWidget(self.lineEdit_local_qa_audio_similarity, 6, 1, 1, 1)
self.label_local_qa_text_type = QtWidgets.QLabel(self.groupBox_local_qa)
self.label_local_qa_text_type.setObjectName("label_local_qa_text_type")
self.gridLayout_50.addWidget(self.label_local_qa_text_type, 1, 0, 1, 1)
self.comboBox_local_qa_text_type = QtWidgets.QComboBox(self.groupBox_local_qa)
self.comboBox_local_qa_text_type.setObjectName("comboBox_local_qa_text_type")
self.comboBox_local_qa_text_type.addItem("")
self.comboBox_local_qa_text_type.addItem("")
self.gridLayout_50.addWidget(self.comboBox_local_qa_text_type, 1, 1, 1, 1)
self.gridLayout_51.addLayout(self.gridLayout_50, 0, 0, 1, 1)
self.gridLayout.addWidget(self.groupBox_local_qa, 17, 0, 1, 3)
self.groupBox_thanks = QtWidgets.QGroupBox(self.formWidget)
self.groupBox_thanks.setObjectName("groupBox_thanks")
self.gridLayout_42 = QtWidgets.QGridLayout(self.groupBox_thanks)
self.gridLayout_42.setObjectName("gridLayout_42")
self.label_thanks_entrance_copy = QtWidgets.QLabel(self.groupBox_thanks)
self.label_thanks_entrance_copy.setObjectName("label_thanks_entrance_copy")
self.gridLayout_42.addWidget(self.label_thanks_entrance_copy, 2, 0, 1, 1)
self.label_thanks_gift_copy = QtWidgets.QLabel(self.groupBox_thanks)
self.label_thanks_gift_copy.setObjectName("label_thanks_gift_copy")
self.gridLayout_42.addWidget(self.label_thanks_gift_copy, 3, 0, 1, 1)
self.label_thanks_lowest_price = QtWidgets.QLabel(self.groupBox_thanks)
self.label_thanks_lowest_price.setObjectName("label_thanks_lowest_price")
self.gridLayout_42.addWidget(self.label_thanks_lowest_price, 4, 0, 1, 1)
self.lineEdit_thanks_entrance_copy = QtWidgets.QLineEdit(self.groupBox_thanks)
self.lineEdit_thanks_entrance_copy.setObjectName("lineEdit_thanks_entrance_copy")
self.gridLayout_42.addWidget(self.lineEdit_thanks_entrance_copy, 2, 1, 1, 1)
self.checkBox_thanks_entrance_enable = QtWidgets.QCheckBox(self.groupBox_thanks)
self.checkBox_thanks_entrance_enable.setObjectName("checkBox_thanks_entrance_enable")
self.gridLayout_42.addWidget(self.checkBox_thanks_entrance_enable, 0, 1, 1, 1)
self.lineEdit_thanks_lowest_price = QtWidgets.QLineEdit(self.groupBox_thanks)
self.lineEdit_thanks_lowest_price.setObjectName("lineEdit_thanks_lowest_price")
self.gridLayout_42.addWidget(self.lineEdit_thanks_lowest_price, 4, 1, 1, 1)
self.lineEdit_thanks_gift_copy = QtWidgets.QLineEdit(self.groupBox_thanks)
self.lineEdit_thanks_gift_copy.setObjectName("lineEdit_thanks_gift_copy")
self.gridLayout_42.addWidget(self.lineEdit_thanks_gift_copy, 3, 1, 1, 1)
self.label_thanks_entrance_enable = QtWidgets.QLabel(self.groupBox_thanks)
self.label_thanks_entrance_enable.setObjectName("label_thanks_entrance_enable")
self.gridLayout_42.addWidget(self.label_thanks_entrance_enable, 0, 0, 1, 1)
self.label_thanks_gift_enable = QtWidgets.QLabel(self.groupBox_thanks)
self.label_thanks_gift_enable.setObjectName("label_thanks_gift_enable")
self.gridLayout_42.addWidget(self.label_thanks_gift_enable, 1, 0, 1, 1)
self.checkBox_thanks_gift_enable = QtWidgets.QCheckBox(self.groupBox_thanks)
self.checkBox_thanks_gift_enable.setObjectName("checkBox_thanks_gift_enable")
self.gridLayout_42.addWidget(self.checkBox_thanks_gift_enable, 1, 1, 1, 1)
self.gridLayout.addWidget(self.groupBox_thanks, 20, 0, 1, 3)
self.groupBox_filter = QtWidgets.QGroupBox(self.formWidget)
self.groupBox_filter.setStyleSheet("")
self.groupBox_filter.setObjectName("groupBox_filter")
self.gridLayout_26 = QtWidgets.QGridLayout(self.groupBox_filter)
self.gridLayout_26.setObjectName("gridLayout_26")
self.gridLayout_filter = QtWidgets.QGridLayout()
self.gridLayout_filter.setObjectName("gridLayout_filter")
self.lineEdit_filter_schedule_forget_reserve_num = QtWidgets.QLineEdit(self.groupBox_filter)
self.lineEdit_filter_schedule_forget_reserve_num.setObjectName("lineEdit_filter_schedule_forget_reserve_num")
self.gridLayout_filter.addWidget(self.lineEdit_filter_schedule_forget_reserve_num, 15, 1, 1, 1)
self.label_filter_schedule_forget_duration = QtWidgets.QLabel(self.groupBox_filter)
self.label_filter_schedule_forget_duration.setObjectName("label_filter_schedule_forget_duration")
self.gridLayout_filter.addWidget(self.label_filter_schedule_forget_duration, 14, 0, 1, 1)
self.label_filter_talk_forget_duration = QtWidgets.QLabel(self.groupBox_filter)
self.label_filter_talk_forget_duration.setObjectName("label_filter_talk_forget_duration")
self.gridLayout_filter.addWidget(self.label_filter_talk_forget_duration, 12, 0, 1, 1)
self.label_filter_entrance_forget_reserve_num = QtWidgets.QLabel(self.groupBox_filter)
self.label_filter_entrance_forget_reserve_num.setObjectName("label_filter_entrance_forget_reserve_num")
self.gridLayout_filter.addWidget(self.label_filter_entrance_forget_reserve_num, 11, 0, 1, 1)
self.label_filter_badwords_path = QtWidgets.QLabel(self.groupBox_filter)
self.label_filter_badwords_path.setObjectName("label_filter_badwords_path")
self.gridLayout_filter.addWidget(self.label_filter_badwords_path, 2, 0, 1, 1)
self.textEdit_filter_before_must_str = QtWidgets.QTextEdit(self.groupBox_filter)
self.textEdit_filter_before_must_str.setObjectName("textEdit_filter_before_must_str")
self.gridLayout_filter.addWidget(self.textEdit_filter_before_must_str, 0, 1, 1, 1)
self.label_filter_comment_forget_duration = QtWidgets.QLabel(self.groupBox_filter)
self.label_filter_comment_forget_duration.setObjectName("label_filter_comment_forget_duration")
self.gridLayout_filter.addWidget(self.label_filter_comment_forget_duration, 6, 0, 1, 1)
self.lineEdit_filter_comment_forget_duration = QtWidgets.QLineEdit(self.groupBox_filter)
self.lineEdit_filter_comment_forget_duration.setObjectName("lineEdit_filter_comment_forget_duration")
self.gridLayout_filter.addWidget(self.lineEdit_filter_comment_forget_duration, 6, 1, 1, 1)
self.lineEdit_filter_badwords_path = QtWidgets.QLineEdit(self.groupBox_filter)
self.lineEdit_filter_badwords_path.setObjectName("lineEdit_filter_badwords_path")
self.gridLayout_filter.addWidget(self.lineEdit_filter_badwords_path, 2, 1, 1, 1)
self.lineEdit_filter_talk_forget_reserve_num = QtWidgets.QLineEdit(self.groupBox_filter)
self.lineEdit_filter_talk_forget_reserve_num.setObjectName("lineEdit_filter_talk_forget_reserve_num")
self.gridLayout_filter.addWidget(self.lineEdit_filter_talk_forget_reserve_num, 13, 1, 1, 1)
self.label_filter_max_len = QtWidgets.QLabel(self.groupBox_filter)
self.label_filter_max_len.setObjectName("label_filter_max_len")
self.gridLayout_filter.addWidget(self.label_filter_max_len, 4, 0, 1, 1)
self.lineEdit_filter_bad_pinyin_path = QtWidgets.QLineEdit(self.groupBox_filter)
self.lineEdit_filter_bad_pinyin_path.setObjectName("lineEdit_filter_bad_pinyin_path")
self.gridLayout_filter.addWidget(self.lineEdit_filter_bad_pinyin_path, 3, 1, 1, 1)
self.label_filter_schedule_forget_reserve_num = QtWidgets.QLabel(self.groupBox_filter)
self.label_filter_schedule_forget_reserve_num.setObjectName("label_filter_schedule_forget_reserve_num")
self.gridLayout_filter.addWidget(self.label_filter_schedule_forget_reserve_num, 15, 0, 1, 1)
self.lineEdit_filter_max_len = QtWidgets.QLineEdit(self.groupBox_filter)
self.lineEdit_filter_max_len.setObjectName("lineEdit_filter_max_len")
self.gridLayout_filter.addWidget(self.lineEdit_filter_max_len, 4, 1, 1, 1)
self.lineEdit_filter_max_char_len = QtWidgets.QLineEdit(self.groupBox_filter)
self.lineEdit_filter_max_char_len.setObjectName("lineEdit_filter_max_char_len")
self.gridLayout_filter.addWidget(self.lineEdit_filter_max_char_len, 5, 1, 1, 1)
self.label_filter_max_char_len = QtWidgets.QLabel(self.groupBox_filter)
self.label_filter_max_char_len.setObjectName("label_filter_max_char_len")
self.gridLayout_filter.addWidget(self.label_filter_max_char_len, 5, 0, 1, 1)
self.label_filter_talk_forget_reserve_num = QtWidgets.QLabel(self.groupBox_filter)
self.label_filter_talk_forget_reserve_num.setObjectName("label_filter_talk_forget_reserve_num")
self.gridLayout_filter.addWidget(self.label_filter_talk_forget_reserve_num, 13, 0, 1, 1)
self.label_filter_before_must_str = QtWidgets.QLabel(self.groupBox_filter)
self.label_filter_before_must_str.setObjectName("label_filter_before_must_str")
self.gridLayout_filter.addWidget(self.label_filter_before_must_str, 0, 0, 1, 1)
self.label_filter_bad_pinyin_path = QtWidgets.QLabel(self.groupBox_filter)
self.label_filter_bad_pinyin_path.setObjectName("label_filter_bad_pinyin_path")
self.gridLayout_filter.addWidget(self.label_filter_bad_pinyin_path, 3, 0, 1, 1)
self.label_filter_entrance_forget_duration = QtWidgets.QLabel(self.groupBox_filter)
self.label_filter_entrance_forget_duration.setObjectName("label_filter_entrance_forget_duration")
self.gridLayout_filter.addWidget(self.label_filter_entrance_forget_duration, 10, 0, 1, 1)
self.lineEdit_filter_schedule_forget_duration = QtWidgets.QLineEdit(self.groupBox_filter)
self.lineEdit_filter_schedule_forget_duration.setObjectName("lineEdit_filter_schedule_forget_duration")
self.gridLayout_filter.addWidget(self.lineEdit_filter_schedule_forget_duration, 14, 1, 1, 1)
self.lineEdit_filter_entrance_forget_duration = QtWidgets.QLineEdit(self.groupBox_filter)
self.lineEdit_filter_entrance_forget_duration.setObjectName("lineEdit_filter_entrance_forget_duration")
self.gridLayout_filter.addWidget(self.lineEdit_filter_entrance_forget_duration, 10, 1, 1, 1)
self.lineEdit_filter_talk_forget_duration = QtWidgets.QLineEdit(self.groupBox_filter)
self.lineEdit_filter_talk_forget_duration.setObjectName("lineEdit_filter_talk_forget_duration")
self.gridLayout_filter.addWidget(self.lineEdit_filter_talk_forget_duration, 12, 1, 1, 1)
self.label_filter_gift_forget_reserve_num = QtWidgets.QLabel(self.groupBox_filter)
self.label_filter_gift_forget_reserve_num.setObjectName("label_filter_gift_forget_reserve_num")
self.gridLayout_filter.addWidget(self.label_filter_gift_forget_reserve_num, 9, 0, 1, 1)
self.label_filter_after_must_str = QtWidgets.QLabel(self.groupBox_filter)
self.label_filter_after_must_str.setObjectName("label_filter_after_must_str")
self.gridLayout_filter.addWidget(self.label_filter_after_must_str, 1, 0, 1, 1)
self.label_filter_gift_forget_duration = QtWidgets.QLabel(self.groupBox_filter)
self.label_filter_gift_forget_duration.setObjectName("label_filter_gift_forget_duration")
self.gridLayout_filter.addWidget(self.label_filter_gift_forget_duration, 8, 0, 1, 1)
self.textEdit_filter_after_must_str = QtWidgets.QTextEdit(self.groupBox_filter)
self.textEdit_filter_after_must_str.setObjectName("textEdit_filter_after_must_str")
self.gridLayout_filter.addWidget(self.textEdit_filter_after_must_str, 1, 1, 1, 1)
self.label_filter_comment_forget_reserve_num = QtWidgets.QLabel(self.groupBox_filter)
self.label_filter_comment_forget_reserve_num.setObjectName("label_filter_comment_forget_reserve_num")
self.gridLayout_filter.addWidget(self.label_filter_comment_forget_reserve_num, 7, 0, 1, 1)
self.lineEdit_filter_comment_forget_reserve_num = QtWidgets.QLineEdit(self.groupBox_filter)
self.lineEdit_filter_comment_forget_reserve_num.setObjectName("lineEdit_filter_comment_forget_reserve_num")
self.gridLayout_filter.addWidget(self.lineEdit_filter_comment_forget_reserve_num, 7, 1, 1, 1)
self.lineEdit_filter_gift_forget_duration = QtWidgets.QLineEdit(self.groupBox_filter)
self.lineEdit_filter_gift_forget_duration.setObjectName("lineEdit_filter_gift_forget_duration")
self.gridLayout_filter.addWidget(self.lineEdit_filter_gift_forget_duration, 8, 1, 1, 1)
self.lineEdit_filter_entrance_forget_reserve_num = QtWidgets.QLineEdit(self.groupBox_filter)
self.lineEdit_filter_entrance_forget_reserve_num.setObjectName("lineEdit_filter_entrance_forget_reserve_num")
self.gridLayout_filter.addWidget(self.lineEdit_filter_entrance_forget_reserve_num, 11, 1, 1, 1)
self.lineEdit_filter_gift_forget_reserve_num = QtWidgets.QLineEdit(self.groupBox_filter)
self.lineEdit_filter_gift_forget_reserve_num.setObjectName("lineEdit_filter_gift_forget_reserve_num")
self.gridLayout_filter.addWidget(self.lineEdit_filter_gift_forget_reserve_num, 9, 1, 1, 1)
self.gridLayout_26.addLayout(self.gridLayout_filter, 0, 0, 1, 1)
self.gridLayout.addWidget(self.groupBox_filter, 18, 0, 1, 3)
self.lineEdit_room_display_id = QtWidgets.QLineEdit(self.formWidget)
self.lineEdit_room_display_id.setObjectName("lineEdit_room_display_id")
self.gridLayout.addWidget(self.lineEdit_room_display_id, 1, 1, 1, 1)
self.groupBox_audio_random_speed = QtWidgets.QGroupBox(self.formWidget)
self.groupBox_audio_random_speed.setObjectName("groupBox_audio_random_speed")
self.gridLayout_53 = QtWidgets.QGridLayout(self.groupBox_audio_random_speed)
self.gridLayout_53.setObjectName("gridLayout_53")
self.gridLayout_52 = QtWidgets.QGridLayout()
self.gridLayout_52.setObjectName("gridLayout_52")
self.lineEdit_audio_random_speed_normal_speed_min = QtWidgets.QLineEdit(self.groupBox_audio_random_speed)
self.lineEdit_audio_random_speed_normal_speed_min.setObjectName("lineEdit_audio_random_speed_normal_speed_min")
self.gridLayout_52.addWidget(self.lineEdit_audio_random_speed_normal_speed_min, 2, 1, 1, 1)
self.label_audio_random_speed_normal_enable = QtWidgets.QLabel(self.groupBox_audio_random_speed)
self.label_audio_random_speed_normal_enable.setObjectName("label_audio_random_speed_normal_enable")
self.gridLayout_52.addWidget(self.label_audio_random_speed_normal_enable, 1, 0, 1, 1)
self.label_audio_random_speed_normal_speed_min = QtWidgets.QLabel(self.groupBox_audio_random_speed)
self.label_audio_random_speed_normal_speed_min.setObjectName("label_audio_random_speed_normal_speed_min")
self.gridLayout_52.addWidget(self.label_audio_random_speed_normal_speed_min, 2, 0, 1, 1)
self.label_audio_random_speed_normal_speed_max = QtWidgets.QLabel(self.groupBox_audio_random_speed)
self.label_audio_random_speed_normal_speed_max.setObjectName("label_audio_random_speed_normal_speed_max")
self.gridLayout_52.addWidget(self.label_audio_random_speed_normal_speed_max, 2, 2, 1, 1)
self.checkBox_audio_random_speed_normal_enable = QtWidgets.QCheckBox(self.groupBox_audio_random_speed)
self.checkBox_audio_random_speed_normal_enable.setObjectName("checkBox_audio_random_speed_normal_enable")
self.gridLayout_52.addWidget(self.checkBox_audio_random_speed_normal_enable, 1, 1, 1, 1)
self.lineEdit_audio_random_speed_normal_speed_max = QtWidgets.QLineEdit(self.groupBox_audio_random_speed)
self.lineEdit_audio_random_speed_normal_speed_max.setObjectName("lineEdit_audio_random_speed_normal_speed_max")
self.gridLayout_52.addWidget(self.lineEdit_audio_random_speed_normal_speed_max, 2, 3, 1, 1)
self.label_audio_random_speed_copywriting_enable = QtWidgets.QLabel(self.groupBox_audio_random_speed)
self.label_audio_random_speed_copywriting_enable.setObjectName("label_audio_random_speed_copywriting_enable")
self.gridLayout_52.addWidget(self.label_audio_random_speed_copywriting_enable, 3, 0, 1, 1)
self.checkBox_audio_random_speed_copywriting_enable = QtWidgets.QCheckBox(self.groupBox_audio_random_speed)
self.checkBox_audio_random_speed_copywriting_enable.setObjectName("checkBox_audio_random_speed_copywriting_enable")
self.gridLayout_52.addWidget(self.checkBox_audio_random_speed_copywriting_enable, 3, 1, 1, 1)
self.label_audio_random_speed_copywriting_speed_min = QtWidgets.QLabel(self.groupBox_audio_random_speed)
self.label_audio_random_speed_copywriting_speed_min.setObjectName("label_audio_random_speed_copywriting_speed_min")
self.gridLayout_52.addWidget(self.label_audio_random_speed_copywriting_speed_min, 4, 0, 1, 1)
self.lineEdit_audio_random_speed_copywriting_speed_min = QtWidgets.QLineEdit(self.groupBox_audio_random_speed)
self.lineEdit_audio_random_speed_copywriting_speed_min.setObjectName("lineEdit_audio_random_speed_copywriting_speed_min")
self.gridLayout_52.addWidget(self.lineEdit_audio_random_speed_copywriting_speed_min, 4, 1, 1, 1)
self.label_audio_random_speed_copywriting_speed_max = QtWidgets.QLabel(self.groupBox_audio_random_speed)
self.label_audio_random_speed_copywriting_speed_max.setObjectName("label_audio_random_speed_copywriting_speed_max")
self.gridLayout_52.addWidget(self.label_audio_random_speed_copywriting_speed_max, 4, 2, 1, 1)
self.lineEdit_audio_random_speed_copywriting_speed_max = QtWidgets.QLineEdit(self.groupBox_audio_random_speed)
self.lineEdit_audio_random_speed_copywriting_speed_max.setObjectName("lineEdit_audio_random_speed_copywriting_speed_max")
self.gridLayout_52.addWidget(self.lineEdit_audio_random_speed_copywriting_speed_max, 4, 3, 1, 1)
self.gridLayout_52.setColumnStretch(0, 1)
self.gridLayout_52.setColumnStretch(1, 2)
self.gridLayout_52.setColumnStretch(2, 1)
self.gridLayout_52.setColumnStretch(3, 2)
self.gridLayout_53.addLayout(self.gridLayout_52, 0, 0, 1, 1)
self.gridLayout.addWidget(self.groupBox_audio_random_speed, 23, 0, 1, 3)
self.label_before_prompt = QtWidgets.QLabel(self.formWidget)
self.label_before_prompt.setObjectName("label_before_prompt")
self.gridLayout.addWidget(self.label_before_prompt, 4, 0, 1, 1)
self.groupBox_play_audio = QtWidgets.QGroupBox(self.formWidget)
self.groupBox_play_audio.setObjectName("groupBox_play_audio")
self.gridLayout_68 = QtWidgets.QGridLayout(self.groupBox_play_audio)
self.gridLayout_68.setObjectName("gridLayout_68")
self.gridLayout_play_audio = QtWidgets.QGridLayout()
self.gridLayout_play_audio.setObjectName("gridLayout_play_audio")
self.gridLayout_68.addLayout(self.gridLayout_play_audio, 0, 0, 1, 1)
self.gridLayout.addWidget(self.groupBox_play_audio, 13, 0, 1, 2)
self.verticalLayout.addWidget(self.formWidget)
self.groupBox_langchain_chatglm = QtWidgets.QGroupBox(self.scrollAreaWidgetContents)
self.groupBox_langchain_chatglm.setObjectName("groupBox_langchain_chatglm")
self.gridLayout_64 = QtWidgets.QGridLayout(self.groupBox_langchain_chatglm)
self.gridLayout_64.setObjectName("gridLayout_64")
self.gridLayout_langchain_chatglm = QtWidgets.QGridLayout()
self.gridLayout_langchain_chatglm.setObjectName("gridLayout_langchain_chatglm")
self.label_langchain_chatglm_api_ip_port = QtWidgets.QLabel(self.groupBox_langchain_chatglm)
self.label_langchain_chatglm_api_ip_port.setObjectName("label_langchain_chatglm_api_ip_port")
self.gridLayout_langchain_chatglm.addWidget(self.label_langchain_chatglm_api_ip_port, 0, 0, 1, 1)
self.comboBox_langchain_chatglm_chat_type = QtWidgets.QComboBox(self.groupBox_langchain_chatglm)
self.comboBox_langchain_chatglm_chat_type.setObjectName("comboBox_langchain_chatglm_chat_type")
self.gridLayout_langchain_chatglm.addWidget(self.comboBox_langchain_chatglm_chat_type, 1, 1, 1, 1)
self.label_langchain_chatglm_chat_type = QtWidgets.QLabel(self.groupBox_langchain_chatglm)
self.label_langchain_chatglm_chat_type.setObjectName("label_langchain_chatglm_chat_type")
self.gridLayout_langchain_chatglm.addWidget(self.label_langchain_chatglm_chat_type, 1, 0, 1, 1)
self.label_langchain_chatglm_history_enable = QtWidgets.QLabel(self.groupBox_langchain_chatglm)
self.label_langchain_chatglm_history_enable.setObjectName("label_langchain_chatglm_history_enable")
self.gridLayout_langchain_chatglm.addWidget(self.label_langchain_chatglm_history_enable, 3, 0, 1, 1)
self.lineEdit_langchain_chatglm_knowledge_base_id = QtWidgets.QLineEdit(self.groupBox_langchain_chatglm)
self.lineEdit_langchain_chatglm_knowledge_base_id.setObjectName("lineEdit_langchain_chatglm_knowledge_base_id")
self.gridLayout_langchain_chatglm.addWidget(self.lineEdit_langchain_chatglm_knowledge_base_id, 2, 1, 1, 1)
self.checkBox_langchain_chatglm_history_enable = QtWidgets.QCheckBox(self.groupBox_langchain_chatglm)
self.checkBox_langchain_chatglm_history_enable.setObjectName("checkBox_langchain_chatglm_history_enable")
self.gridLayout_langchain_chatglm.addWidget(self.checkBox_langchain_chatglm_history_enable, 3, 1, 1, 1)
self.lineEdit_langchain_chatglm_api_ip_port = QtWidgets.QLineEdit(self.groupBox_langchain_chatglm)
self.lineEdit_langchain_chatglm_api_ip_port.setObjectName("lineEdit_langchain_chatglm_api_ip_port")
self.gridLayout_langchain_chatglm.addWidget(self.lineEdit_langchain_chatglm_api_ip_port, 0, 1, 1, 1)
self.label_langchain_chatglm_knowledge_base_id = QtWidgets.QLabel(self.groupBox_langchain_chatglm)
self.label_langchain_chatglm_knowledge_base_id.setObjectName("label_langchain_chatglm_knowledge_base_id")
self.gridLayout_langchain_chatglm.addWidget(self.label_langchain_chatglm_knowledge_base_id, 2, 0, 1, 1)
self.label_langchain_chatglm_history_max_len = QtWidgets.QLabel(self.groupBox_langchain_chatglm)
self.label_langchain_chatglm_history_max_len.setObjectName("label_langchain_chatglm_history_max_len")
self.gridLayout_langchain_chatglm.addWidget(self.label_langchain_chatglm_history_max_len, 4, 0, 1, 1)
self.lineEdit_langchain_chatglm_history_max_len = QtWidgets.QLineEdit(self.groupBox_langchain_chatglm)
self.lineEdit_langchain_chatglm_history_max_len.setObjectName("lineEdit_langchain_chatglm_history_max_len")
self.gridLayout_langchain_chatglm.addWidget(self.lineEdit_langchain_chatglm_history_max_len, 4, 1, 1, 1)
self.gridLayout_64.addLayout(self.gridLayout_langchain_chatglm, 0, 0, 1, 1)
self.verticalLayout.addWidget(self.groupBox_langchain_chatglm)
self.groupBox_chat_with_file = QtWidgets.QGroupBox(self.scrollAreaWidgetContents)
self.groupBox_chat_with_file.setObjectName("groupBox_chat_with_file")
self.gridLayout_10 = QtWidgets.QGridLayout(self.groupBox_chat_with_file)
self.gridLayout_10.setObjectName("gridLayout_10")
self.gridLayout_11 = QtWidgets.QGridLayout()
self.gridLayout_11.setSpacing(6)
self.gridLayout_11.setObjectName("gridLayout_11")
self.lineEdit_chat_with_file_chunk_overlap = QtWidgets.QLineEdit(self.groupBox_chat_with_file)
self.lineEdit_chat_with_file_chunk_overlap.setObjectName("lineEdit_chat_with_file_chunk_overlap")
self.gridLayout_11.addWidget(self.lineEdit_chat_with_file_chunk_overlap, 5, 1, 1, 1)
self.label_chat_with_file_chain_type = QtWidgets.QLabel(self.groupBox_chat_with_file)
self.label_chat_with_file_chain_type.setObjectName("label_chat_with_file_chain_type")
self.gridLayout_11.addWidget(self.label_chat_with_file_chain_type, 7, 0, 1, 1)
self.label_chat_with_file_data_path = QtWidgets.QLabel(self.groupBox_chat_with_file)
self.label_chat_with_file_data_path.setObjectName("label_chat_with_file_data_path")
self.gridLayout_11.addWidget(self.label_chat_with_file_data_path, 1, 0, 1, 1)
self.lineEdit_chat_with_file_chain_type = QtWidgets.QLineEdit(self.groupBox_chat_with_file)
self.lineEdit_chat_with_file_chain_type.setObjectName("lineEdit_chat_with_file_chain_type")
self.gridLayout_11.addWidget(self.lineEdit_chat_with_file_chain_type, 7, 1, 1, 1)
self.label_chat_with_file_local_vector_embedding_model = QtWidgets.QLabel(self.groupBox_chat_with_file)
self.label_chat_with_file_local_vector_embedding_model.setObjectName("label_chat_with_file_local_vector_embedding_model")
self.gridLayout_11.addWidget(self.label_chat_with_file_local_vector_embedding_model, 6, 0, 1, 1)
self.lineEdit_chat_with_file_chunk_size = QtWidgets.QLineEdit(self.groupBox_chat_with_file)
self.lineEdit_chat_with_file_chunk_size.setObjectName("lineEdit_chat_with_file_chunk_size")
self.gridLayout_11.addWidget(self.lineEdit_chat_with_file_chunk_size, 3, 1, 1, 1)
self.label_chat_with_file_show_token_cost = QtWidgets.QLabel(self.groupBox_chat_with_file)
self.label_chat_with_file_show_token_cost.setObjectName("label_chat_with_file_show_token_cost")
self.gridLayout_11.addWidget(self.label_chat_with_file_show_token_cost, 10, 0, 1, 1)
self.checkBox_chat_with_file_show_token_cost = QtWidgets.QCheckBox(self.groupBox_chat_with_file)
self.checkBox_chat_with_file_show_token_cost.setCursor(QtGui.QCursor(QtCore.Qt.PointingHandCursor))
self.checkBox_chat_with_file_show_token_cost.setObjectName("checkBox_chat_with_file_show_token_cost")
self.gridLayout_11.addWidget(self.checkBox_chat_with_file_show_token_cost, 10, 1, 1, 1)
self.lineEdit_chat_with_file_data_path = QtWidgets.QLineEdit(self.groupBox_chat_with_file)
self.lineEdit_chat_with_file_data_path.setObjectName("lineEdit_chat_with_file_data_path")
self.gridLayout_11.addWidget(self.lineEdit_chat_with_file_data_path, 1, 1, 1, 1)
self.label_chat_with_file_chunk_size = QtWidgets.QLabel(self.groupBox_chat_with_file)
self.label_chat_with_file_chunk_size.setObjectName("label_chat_with_file_chunk_size")
self.gridLayout_11.addWidget(self.label_chat_with_file_chunk_size, 3, 0, 1, 1)
self.label_chat_with_file_chunk_overlap = QtWidgets.QLabel(self.groupBox_chat_with_file)
self.label_chat_with_file_chunk_overlap.setObjectName("label_chat_with_file_chunk_overlap")
self.gridLayout_11.addWidget(self.label_chat_with_file_chunk_overlap, 5, 0, 1, 1)
self.label_chat_with_file_question_prompt = QtWidgets.QLabel(self.groupBox_chat_with_file)
self.label_chat_with_file_question_prompt.setObjectName("label_chat_with_file_question_prompt")
self.gridLayout_11.addWidget(self.label_chat_with_file_question_prompt, 8, 0, 1, 1)
self.lineEdit_chat_with_file_separator = QtWidgets.QLineEdit(self.groupBox_chat_with_file)
self.lineEdit_chat_with_file_separator.setObjectName("lineEdit_chat_with_file_separator")
self.gridLayout_11.addWidget(self.lineEdit_chat_with_file_separator, 2, 1, 1, 1)
self.lineEdit_chat_with_file_question_prompt = QtWidgets.QLineEdit(self.groupBox_chat_with_file)
self.lineEdit_chat_with_file_question_prompt.setObjectName("lineEdit_chat_with_file_question_prompt")
self.gridLayout_11.addWidget(self.lineEdit_chat_with_file_question_prompt, 8, 1, 1, 1)
self.label_chat_with_file_separator = QtWidgets.QLabel(self.groupBox_chat_with_file)
self.label_chat_with_file_separator.setObjectName("label_chat_with_file_separator")
self.gridLayout_11.addWidget(self.label_chat_with_file_separator, 2, 0, 1, 1)
self.label_chat_with_file_chat_mode = QtWidgets.QLabel(self.groupBox_chat_with_file)
self.label_chat_with_file_chat_mode.setObjectName("label_chat_with_file_chat_mode")
self.gridLayout_11.addWidget(self.label_chat_with_file_chat_mode, 0, 0, 1, 1)
self.label_chat_with_file_local_max_query = QtWidgets.QLabel(self.groupBox_chat_with_file)
self.label_chat_with_file_local_max_query.setObjectName("label_chat_with_file_local_max_query")
self.gridLayout_11.addWidget(self.label_chat_with_file_local_max_query, 9, 0, 1, 1)
self.lineEdit_chat_with_file_local_max_query = QtWidgets.QLineEdit(self.groupBox_chat_with_file)
self.lineEdit_chat_with_file_local_max_query.setObjectName("lineEdit_chat_with_file_local_max_query")
self.gridLayout_11.addWidget(self.lineEdit_chat_with_file_local_max_query, 9, 1, 1, 1)
self.comboBox_chat_with_file_chat_mode = QtWidgets.QComboBox(self.groupBox_chat_with_file)
self.comboBox_chat_with_file_chat_mode.setObjectName("comboBox_chat_with_file_chat_mode")
self.comboBox_chat_with_file_chat_mode.addItem("")
self.comboBox_chat_with_file_chat_mode.addItem("")
self.comboBox_chat_with_file_chat_mode.addItem("")
self.gridLayout_11.addWidget(self.comboBox_chat_with_file_chat_mode, 0, 1, 1, 1)
self.comboBox_chat_with_file_local_vector_embedding_model = QtWidgets.QComboBox(self.groupBox_chat_with_file)
self.comboBox_chat_with_file_local_vector_embedding_model.setObjectName("comboBox_chat_with_file_local_vector_embedding_model")
self.comboBox_chat_with_file_local_vector_embedding_model.addItem("")
self.comboBox_chat_with_file_local_vector_embedding_model.addItem("")
self.gridLayout_11.addWidget(self.comboBox_chat_with_file_local_vector_embedding_model, 6, 1, 1, 1)
self.gridLayout_10.addLayout(self.gridLayout_11, 0, 0, 1, 1)
self.verticalLayout.addWidget(self.groupBox_chat_with_file)
self.groupBox_text_generation_webui = QtWidgets.QGroupBox(self.scrollAreaWidgetContents)
self.groupBox_text_generation_webui.setObjectName("groupBox_text_generation_webui")
self.gridLayout_28 = QtWidgets.QGridLayout(self.groupBox_text_generation_webui)
self.gridLayout_28.setObjectName("gridLayout_28")
self.gridLayout_27 = QtWidgets.QGridLayout()
self.gridLayout_27.setObjectName("gridLayout_27")
self.lineEdit_text_generation_webui_api_ip_port = QtWidgets.QLineEdit(self.groupBox_text_generation_webui)
self.lineEdit_text_generation_webui_api_ip_port.setObjectName("lineEdit_text_generation_webui_api_ip_port")
self.gridLayout_27.addWidget(self.lineEdit_text_generation_webui_api_ip_port, 1, 1, 1, 1)
self.lineEdit_text_generation_webui_mode = QtWidgets.QLineEdit(self.groupBox_text_generation_webui)
self.lineEdit_text_generation_webui_mode.setObjectName("lineEdit_text_generation_webui_mode")
self.gridLayout_27.addWidget(self.lineEdit_text_generation_webui_mode, 3, 1, 1, 1)
self.lineEdit_text_generation_webui_instruction_template = QtWidgets.QLineEdit(self.groupBox_text_generation_webui)
self.lineEdit_text_generation_webui_instruction_template.setObjectName("lineEdit_text_generation_webui_instruction_template")
self.gridLayout_27.addWidget(self.lineEdit_text_generation_webui_instruction_template, 5, 1, 1, 1)
self.lineEdit_text_generation_webui_max_new_tokens = QtWidgets.QLineEdit(self.groupBox_text_generation_webui)
self.lineEdit_text_generation_webui_max_new_tokens.setObjectName("lineEdit_text_generation_webui_max_new_tokens")
self.gridLayout_27.addWidget(self.lineEdit_text_generation_webui_max_new_tokens, 2, 1, 1, 1)
self.label_text_generation_webui_max_new_tokens = QtWidgets.QLabel(self.groupBox_text_generation_webui)
self.label_text_generation_webui_max_new_tokens.setObjectName("label_text_generation_webui_max_new_tokens")
self.gridLayout_27.addWidget(self.label_text_generation_webui_max_new_tokens, 2, 0, 1, 1)
self.label_text_generation_webui_character = QtWidgets.QLabel(self.groupBox_text_generation_webui)
self.label_text_generation_webui_character.setObjectName("label_text_generation_webui_character")
self.gridLayout_27.addWidget(self.label_text_generation_webui_character, 4, 0, 1, 1)
self.label_text_generation_webui_api_ip_port = QtWidgets.QLabel(self.groupBox_text_generation_webui)
self.label_text_generation_webui_api_ip_port.setObjectName("label_text_generation_webui_api_ip_port")
self.gridLayout_27.addWidget(self.label_text_generation_webui_api_ip_port, 1, 0, 1, 1)
self.lineEdit_text_generation_webui_character = QtWidgets.QLineEdit(self.groupBox_text_generation_webui)
self.lineEdit_text_generation_webui_character.setObjectName("lineEdit_text_generation_webui_character")
self.gridLayout_27.addWidget(self.lineEdit_text_generation_webui_character, 4, 1, 1, 1)
self.label_text_generation_webui_instruction_template = QtWidgets.QLabel(self.groupBox_text_generation_webui)
self.label_text_generation_webui_instruction_template.setObjectName("label_text_generation_webui_instruction_template")
self.gridLayout_27.addWidget(self.label_text_generation_webui_instruction_template, 5, 0, 1, 1)
self.label_text_generation_webui_mode = QtWidgets.QLabel(self.groupBox_text_generation_webui)
self.label_text_generation_webui_mode.setObjectName("label_text_generation_webui_mode")
self.gridLayout_27.addWidget(self.label_text_generation_webui_mode, 3, 0, 1, 1)
self.label_text_generation_webui_your_name = QtWidgets.QLabel(self.groupBox_text_generation_webui)
self.label_text_generation_webui_your_name.setObjectName("label_text_generation_webui_your_name")
self.gridLayout_27.addWidget(self.label_text_generation_webui_your_name, 6, 0, 1, 1)
self.lineEdit_text_generation_webui_your_name = QtWidgets.QLineEdit(self.groupBox_text_generation_webui)
self.lineEdit_text_generation_webui_your_name.setObjectName("lineEdit_text_generation_webui_your_name")
self.gridLayout_27.addWidget(self.lineEdit_text_generation_webui_your_name, 6, 1, 1, 1)
self.gridLayout_28.addLayout(self.gridLayout_27, 0, 0, 1, 1)
self.verticalLayout.addWidget(self.groupBox_text_generation_webui)
self.groupBox_sparkdesk = QtWidgets.QGroupBox(self.scrollAreaWidgetContents)
self.groupBox_sparkdesk.setObjectName("groupBox_sparkdesk")
self.gridLayout_55 = QtWidgets.QGridLayout(self.groupBox_sparkdesk)
self.gridLayout_55.setObjectName("gridLayout_55")
self.gridLayout_54 = QtWidgets.QGridLayout()
self.gridLayout_54.setObjectName("gridLayout_54")
self.comboBox_sparkdesk_type = QtWidgets.QComboBox(self.groupBox_sparkdesk)
self.comboBox_sparkdesk_type.setObjectName("comboBox_sparkdesk_type")
self.gridLayout_54.addWidget(self.comboBox_sparkdesk_type, 0, 1, 1, 1)
self.label_sparkdesk_GtToken = QtWidgets.QLabel(self.groupBox_sparkdesk)
self.label_sparkdesk_GtToken.setObjectName("label_sparkdesk_GtToken")
self.gridLayout_54.addWidget(self.label_sparkdesk_GtToken, 3, 0, 1, 1)
self.lineEdit_sparkdesk_GtToken = QtWidgets.QLineEdit(self.groupBox_sparkdesk)
self.lineEdit_sparkdesk_GtToken.setObjectName("lineEdit_sparkdesk_GtToken")
self.gridLayout_54.addWidget(self.lineEdit_sparkdesk_GtToken, 3, 1, 1, 1)
self.lineEdit_sparkdesk_cookie = QtWidgets.QLineEdit(self.groupBox_sparkdesk)
self.lineEdit_sparkdesk_cookie.setObjectName("lineEdit_sparkdesk_cookie")
self.gridLayout_54.addWidget(self.lineEdit_sparkdesk_cookie, 1, 1, 1, 1)
self.label_sparkdesk_app_id = QtWidgets.QLabel(self.groupBox_sparkdesk)
self.label_sparkdesk_app_id.setObjectName("label_sparkdesk_app_id")
self.gridLayout_54.addWidget(self.label_sparkdesk_app_id, 4, 0, 1, 1)
self.label_sparkdesk_api_secret = QtWidgets.QLabel(self.groupBox_sparkdesk)
self.label_sparkdesk_api_secret.setObjectName("label_sparkdesk_api_secret")
self.gridLayout_54.addWidget(self.label_sparkdesk_api_secret, 5, 0, 1, 1)
self.lineEdit_sparkdesk_api_secret = QtWidgets.QLineEdit(self.groupBox_sparkdesk)
self.lineEdit_sparkdesk_api_secret.setObjectName("lineEdit_sparkdesk_api_secret")
self.gridLayout_54.addWidget(self.lineEdit_sparkdesk_api_secret, 5, 1, 1, 1)
self.label_sparkdesk_cookie = QtWidgets.QLabel(self.groupBox_sparkdesk)
self.label_sparkdesk_cookie.setObjectName("label_sparkdesk_cookie")
self.gridLayout_54.addWidget(self.label_sparkdesk_cookie, 1, 0, 1, 1)
self.label_sparkdesk_fd = QtWidgets.QLabel(self.groupBox_sparkdesk)
self.label_sparkdesk_fd.setObjectName("label_sparkdesk_fd")
self.gridLayout_54.addWidget(self.label_sparkdesk_fd, 2, 0, 1, 1)
self.label_sparkdesk_type = QtWidgets.QLabel(self.groupBox_sparkdesk)
self.label_sparkdesk_type.setObjectName("label_sparkdesk_type")
self.gridLayout_54.addWidget(self.label_sparkdesk_type, 0, 0, 1, 1)
self.lineEdit_sparkdesk_fd = QtWidgets.QLineEdit(self.groupBox_sparkdesk)
self.lineEdit_sparkdesk_fd.setObjectName("lineEdit_sparkdesk_fd")
self.gridLayout_54.addWidget(self.lineEdit_sparkdesk_fd, 2, 1, 1, 1)
self.lineEdit_sparkdesk_app_id = QtWidgets.QLineEdit(self.groupBox_sparkdesk)
self.lineEdit_sparkdesk_app_id.setObjectName("lineEdit_sparkdesk_app_id")
self.gridLayout_54.addWidget(self.lineEdit_sparkdesk_app_id, 4, 1, 1, 1)
self.label_sparkdesk_api_key = QtWidgets.QLabel(self.groupBox_sparkdesk)
self.label_sparkdesk_api_key.setObjectName("label_sparkdesk_api_key")
self.gridLayout_54.addWidget(self.label_sparkdesk_api_key, 6, 0, 1, 1)
self.lineEdit_sparkdesk_api_key = QtWidgets.QLineEdit(self.groupBox_sparkdesk)
self.lineEdit_sparkdesk_api_key.setObjectName("lineEdit_sparkdesk_api_key")
self.gridLayout_54.addWidget(self.lineEdit_sparkdesk_api_key, 6, 1, 1, 1)
self.gridLayout_55.addLayout(self.gridLayout_54, 0, 0, 1, 1)
self.verticalLayout.addWidget(self.groupBox_sparkdesk)
self.groupBox_chatterbot = QtWidgets.QGroupBox(self.scrollAreaWidgetContents)
self.groupBox_chatterbot.setObjectName("groupBox_chatterbot")
self.gridLayout_12 = QtWidgets.QGridLayout(self.groupBox_chatterbot)
self.gridLayout_12.setObjectName("gridLayout_12")
self.gridLayout_13 = QtWidgets.QGridLayout()
self.gridLayout_13.setObjectName("gridLayout_13")
self.lineEdit_chatterbot_db_path = QtWidgets.QLineEdit(self.groupBox_chatterbot)
self.lineEdit_chatterbot_db_path.setObjectName("lineEdit_chatterbot_db_path")
self.gridLayout_13.addWidget(self.lineEdit_chatterbot_db_path, 1, 1, 1, 1)
self.label_chatterbot_name = QtWidgets.QLabel(self.groupBox_chatterbot)
self.label_chatterbot_name.setObjectName("label_chatterbot_name")
self.gridLayout_13.addWidget(self.label_chatterbot_name, 0, 0, 1, 1)
self.label_chatterbot_db_path = QtWidgets.QLabel(self.groupBox_chatterbot)
self.label_chatterbot_db_path.setObjectName("label_chatterbot_db_path")
self.gridLayout_13.addWidget(self.label_chatterbot_db_path, 1, 0, 1, 1)
self.lineEdit_chatterbot_name = QtWidgets.QLineEdit(self.groupBox_chatterbot)
self.lineEdit_chatterbot_name.setObjectName("lineEdit_chatterbot_name")
self.gridLayout_13.addWidget(self.lineEdit_chatterbot_name, 0, 1, 1, 1)
self.gridLayout_12.addLayout(self.gridLayout_13, 0, 0, 1, 1)
self.verticalLayout.addWidget(self.groupBox_chatterbot)
self.groupBox_edge_tts = QtWidgets.QGroupBox(self.scrollAreaWidgetContents)
self.groupBox_edge_tts.setObjectName("groupBox_edge_tts")
self.gridLayout_14 = QtWidgets.QGridLayout(self.groupBox_edge_tts)
self.gridLayout_14.setObjectName("gridLayout_14")
self.gridLayout_15 = QtWidgets.QGridLayout()
self.gridLayout_15.setObjectName("gridLayout_15")
self.lineEdit_edge_tts_rate = QtWidgets.QLineEdit(self.groupBox_edge_tts)
self.lineEdit_edge_tts_rate.setObjectName("lineEdit_edge_tts_rate")
self.gridLayout_15.addWidget(self.lineEdit_edge_tts_rate, 1, 1, 1, 1)
self.label_edge_tts_rate = QtWidgets.QLabel(self.groupBox_edge_tts)
self.label_edge_tts_rate.setObjectName("label_edge_tts_rate")
self.gridLayout_15.addWidget(self.label_edge_tts_rate, 1, 0, 1, 1)
self.label_edge_tts_voice = QtWidgets.QLabel(self.groupBox_edge_tts)
self.label_edge_tts_voice.setObjectName("label_edge_tts_voice")
self.gridLayout_15.addWidget(self.label_edge_tts_voice, 0, 0, 1, 1)
self.label_edge_tts_volume = QtWidgets.QLabel(self.groupBox_edge_tts)
self.label_edge_tts_volume.setObjectName("label_edge_tts_volume")
self.gridLayout_15.addWidget(self.label_edge_tts_volume, 2, 0, 1, 1)
self.lineEdit_edge_tts_volume = QtWidgets.QLineEdit(self.groupBox_edge_tts)
self.lineEdit_edge_tts_volume.setObjectName("lineEdit_edge_tts_volume")
self.gridLayout_15.addWidget(self.lineEdit_edge_tts_volume, 2, 1, 1, 1)
self.comboBox_edge_tts_voice = QtWidgets.QComboBox(self.groupBox_edge_tts)
self.comboBox_edge_tts_voice.setMaximumSize(QtCore.QSize(16777215, 100))
self.comboBox_edge_tts_voice.setObjectName("comboBox_edge_tts_voice")
self.gridLayout_15.addWidget(self.comboBox_edge_tts_voice, 0, 1, 1, 1)
self.gridLayout_14.addLayout(self.gridLayout_15, 0, 1, 1, 1)
self.verticalLayout.addWidget(self.groupBox_edge_tts)
self.groupBox_vits = QtWidgets.QGroupBox(self.scrollAreaWidgetContents)
self.groupBox_vits.setObjectName("groupBox_vits")
self.gridLayout_63 = QtWidgets.QGridLayout(self.groupBox_vits)
self.gridLayout_63.setObjectName("gridLayout_63")
self.gridLayout_vits = QtWidgets.QGridLayout()
self.gridLayout_vits.setObjectName("gridLayout_vits")
self.gridLayout_63.addLayout(self.gridLayout_vits, 0, 0, 1, 1)
self.verticalLayout.addWidget(self.groupBox_vits)
self.groupBox_vits_fast = QtWidgets.QGroupBox(self.scrollAreaWidgetContents)
self.groupBox_vits_fast.setObjectName("groupBox_vits_fast")
self.gridLayout_23 = QtWidgets.QGridLayout(self.groupBox_vits_fast)
self.gridLayout_23.setObjectName("gridLayout_23")
self.gridLayout_24 = QtWidgets.QGridLayout()
self.gridLayout_24.setObjectName("gridLayout_24")
self.label_vits_fast_config_path = QtWidgets.QLabel(self.groupBox_vits_fast)
self.label_vits_fast_config_path.setObjectName("label_vits_fast_config_path")
self.gridLayout_24.addWidget(self.label_vits_fast_config_path, 0, 0, 1, 1)
self.lineEdit_vits_fast_character = QtWidgets.QLineEdit(self.groupBox_vits_fast)
self.lineEdit_vits_fast_character.setObjectName("lineEdit_vits_fast_character")
self.gridLayout_24.addWidget(self.lineEdit_vits_fast_character, 2, 2, 1, 1)
self.label_vits_fast_character = QtWidgets.QLabel(self.groupBox_vits_fast)
self.label_vits_fast_character.setObjectName("label_vits_fast_character")
self.gridLayout_24.addWidget(self.label_vits_fast_character, 2, 0, 1, 1)
self.lineEdit_vits_fast_api_ip_port = QtWidgets.QLineEdit(self.groupBox_vits_fast)
self.lineEdit_vits_fast_api_ip_port.setObjectName("lineEdit_vits_fast_api_ip_port")
self.gridLayout_24.addWidget(self.lineEdit_vits_fast_api_ip_port, 1, 2, 1, 1)
self.lineEdit_vits_fast_config_path = QtWidgets.QLineEdit(self.groupBox_vits_fast)
self.lineEdit_vits_fast_config_path.setObjectName("lineEdit_vits_fast_config_path")
self.gridLayout_24.addWidget(self.lineEdit_vits_fast_config_path, 0, 2, 1, 1)
self.label_vits_fast_api_ip_port = QtWidgets.QLabel(self.groupBox_vits_fast)
self.label_vits_fast_api_ip_port.setObjectName("label_vits_fast_api_ip_port")
self.gridLayout_24.addWidget(self.label_vits_fast_api_ip_port, 1, 0, 1, 1)
self.label_vits_fast_speed = QtWidgets.QLabel(self.groupBox_vits_fast)
self.label_vits_fast_speed.setObjectName("label_vits_fast_speed")
self.gridLayout_24.addWidget(self.label_vits_fast_speed, 3, 0, 1, 1)
self.lineEdit_vits_fast_speed = QtWidgets.QLineEdit(self.groupBox_vits_fast)
self.lineEdit_vits_fast_speed.setObjectName("lineEdit_vits_fast_speed")
self.gridLayout_24.addWidget(self.lineEdit_vits_fast_speed, 3, 2, 1, 1)
self.gridLayout_23.addLayout(self.gridLayout_24, 0, 1, 1, 1)
self.verticalLayout.addWidget(self.groupBox_vits_fast)
self.groupBox_genshinvoice_top = QtWidgets.QGroupBox(self.scrollAreaWidgetContents)
self.groupBox_genshinvoice_top.setObjectName("groupBox_genshinvoice_top")
self.gridLayout_44 = QtWidgets.QGridLayout(self.groupBox_genshinvoice_top)
self.gridLayout_44.setObjectName("gridLayout_44")
self.gridLayout_43 = QtWidgets.QGridLayout()
self.gridLayout_43.setObjectName("gridLayout_43")
self.lineEdit_genshinvoice_top_noise = QtWidgets.QLineEdit(self.groupBox_genshinvoice_top)
self.lineEdit_genshinvoice_top_noise.setObjectName("lineEdit_genshinvoice_top_noise")
self.gridLayout_43.addWidget(self.lineEdit_genshinvoice_top_noise, 1, 1, 1, 1)
self.label_genshinvoice_top_format = QtWidgets.QLabel(self.groupBox_genshinvoice_top)
self.label_genshinvoice_top_format.setObjectName("label_genshinvoice_top_format")
self.gridLayout_43.addWidget(self.label_genshinvoice_top_format, 4, 0, 1, 1)
self.label_genshinvoice_top_speaker = QtWidgets.QLabel(self.groupBox_genshinvoice_top)
self.label_genshinvoice_top_speaker.setObjectName("label_genshinvoice_top_speaker")
self.gridLayout_43.addWidget(self.label_genshinvoice_top_speaker, 0, 0, 1, 1)
self.label_genshinvoice_top_noisew = QtWidgets.QLabel(self.groupBox_genshinvoice_top)
self.label_genshinvoice_top_noisew.setObjectName("label_genshinvoice_top_noisew")
self.gridLayout_43.addWidget(self.label_genshinvoice_top_noisew, 2, 0, 1, 1)
self.label_genshinvoice_top_noise = QtWidgets.QLabel(self.groupBox_genshinvoice_top)
self.label_genshinvoice_top_noise.setObjectName("label_genshinvoice_top_noise")
self.gridLayout_43.addWidget(self.label_genshinvoice_top_noise, 1, 0, 1, 1)
self.comboBox_genshinvoice_top_speaker = QtWidgets.QComboBox(self.groupBox_genshinvoice_top)
self.comboBox_genshinvoice_top_speaker.setObjectName("comboBox_genshinvoice_top_speaker")
self.gridLayout_43.addWidget(self.comboBox_genshinvoice_top_speaker, 0, 1, 1, 1)
self.label_genshinvoice_top_length = QtWidgets.QLabel(self.groupBox_genshinvoice_top)
self.label_genshinvoice_top_length.setObjectName("label_genshinvoice_top_length")
self.gridLayout_43.addWidget(self.label_genshinvoice_top_length, 3, 0, 1, 1)
self.lineEdit_genshinvoice_top_noisew = QtWidgets.QLineEdit(self.groupBox_genshinvoice_top)
self.lineEdit_genshinvoice_top_noisew.setObjectName("lineEdit_genshinvoice_top_noisew")
self.gridLayout_43.addWidget(self.lineEdit_genshinvoice_top_noisew, 2, 1, 1, 1)
self.lineEdit_genshinvoice_top_length = QtWidgets.QLineEdit(self.groupBox_genshinvoice_top)
self.lineEdit_genshinvoice_top_length.setObjectName("lineEdit_genshinvoice_top_length")
self.gridLayout_43.addWidget(self.lineEdit_genshinvoice_top_length, 3, 1, 1, 1)
self.lineEdit_genshinvoice_top_format = QtWidgets.QLineEdit(self.groupBox_genshinvoice_top)
self.lineEdit_genshinvoice_top_format.setObjectName("lineEdit_genshinvoice_top_format")
self.gridLayout_43.addWidget(self.lineEdit_genshinvoice_top_format, 4, 1, 1, 1)
self.gridLayout_44.addLayout(self.gridLayout_43, 0, 0, 1, 1)
self.verticalLayout.addWidget(self.groupBox_genshinvoice_top)
self.groupBox_elevenlabs = QtWidgets.QGroupBox(self.scrollAreaWidgetContents)
self.groupBox_elevenlabs.setObjectName("groupBox_elevenlabs")
self.gridLayout_16 = QtWidgets.QGridLayout(self.groupBox_elevenlabs)
self.gridLayout_16.setObjectName("gridLayout_16")
self.gridLayout_17 = QtWidgets.QGridLayout()
self.gridLayout_17.setObjectName("gridLayout_17")
self.lineEdit_elevenlabs_api_key = QtWidgets.QLineEdit(self.groupBox_elevenlabs)
self.lineEdit_elevenlabs_api_key.setObjectName("lineEdit_elevenlabs_api_key")
self.gridLayout_17.addWidget(self.lineEdit_elevenlabs_api_key, 0, 1, 1, 1)
self.label_elevenlabs_voice = QtWidgets.QLabel(self.groupBox_elevenlabs)
self.label_elevenlabs_voice.setObjectName("label_elevenlabs_voice")
self.gridLayout_17.addWidget(self.label_elevenlabs_voice, 1, 0, 1, 1)
self.lineEdit_elevenlabs_voice = QtWidgets.QLineEdit(self.groupBox_elevenlabs)
self.lineEdit_elevenlabs_voice.setObjectName("lineEdit_elevenlabs_voice")
self.gridLayout_17.addWidget(self.lineEdit_elevenlabs_voice, 1, 1, 1, 1)
self.label_elevenlabs_api_key = QtWidgets.QLabel(self.groupBox_elevenlabs)
self.label_elevenlabs_api_key.setObjectName("label_elevenlabs_api_key")
self.gridLayout_17.addWidget(self.label_elevenlabs_api_key, 0, 0, 1, 1)
self.label_elevenlabs_model = QtWidgets.QLabel(self.groupBox_elevenlabs)
self.label_elevenlabs_model.setObjectName("label_elevenlabs_model")
self.gridLayout_17.addWidget(self.label_elevenlabs_model, 2, 0, 1, 1)
self.lineEdit_elevenlabs_model = QtWidgets.QLineEdit(self.groupBox_elevenlabs)
self.lineEdit_elevenlabs_model.setObjectName("lineEdit_elevenlabs_model")
self.gridLayout_17.addWidget(self.lineEdit_elevenlabs_model, 2, 1, 1, 1)
self.gridLayout_16.addLayout(self.gridLayout_17, 0, 0, 1, 1)
self.verticalLayout.addWidget(self.groupBox_elevenlabs)
self.groupBox_bark_gui = QtWidgets.QGroupBox(self.scrollAreaWidgetContents)
self.groupBox_bark_gui.setObjectName("groupBox_bark_gui")
self.gridLayout_57 = QtWidgets.QGridLayout(self.groupBox_bark_gui)
self.gridLayout_57.setObjectName("gridLayout_57")
self.gridLayout_56 = QtWidgets.QGridLayout()
self.gridLayout_56.setObjectName("gridLayout_56")
self.label_bark_gui_api_ip_port = QtWidgets.QLabel(self.groupBox_bark_gui)
self.label_bark_gui_api_ip_port.setObjectName("label_bark_gui_api_ip_port")
self.gridLayout_56.addWidget(self.label_bark_gui_api_ip_port, 0, 0, 1, 1)
self.label_bark_gui_quick_generation = QtWidgets.QLabel(self.groupBox_bark_gui)
self.label_bark_gui_quick_generation.setObjectName("label_bark_gui_quick_generation")
self.gridLayout_56.addWidget(self.label_bark_gui_quick_generation, 5, 0, 1, 1)
self.label_bark_gui_batch_count = QtWidgets.QLabel(self.groupBox_bark_gui)
self.label_bark_gui_batch_count.setObjectName("label_bark_gui_batch_count")
self.gridLayout_56.addWidget(self.label_bark_gui_batch_count, 7, 0, 1, 1)
self.label_bark_gui_end_of_sentence_probability = QtWidgets.QLabel(self.groupBox_bark_gui)
self.label_bark_gui_end_of_sentence_probability.setObjectName("label_bark_gui_end_of_sentence_probability")
self.gridLayout_56.addWidget(self.label_bark_gui_end_of_sentence_probability, 4, 0, 1, 1)
self.label_bark_gui_seed = QtWidgets.QLabel(self.groupBox_bark_gui)
self.label_bark_gui_seed.setObjectName("label_bark_gui_seed")
self.gridLayout_56.addWidget(self.label_bark_gui_seed, 6, 0, 1, 1)
self.label_bark_gui_generation_temperature = QtWidgets.QLabel(self.groupBox_bark_gui)
self.label_bark_gui_generation_temperature.setObjectName("label_bark_gui_generation_temperature")
self.gridLayout_56.addWidget(self.label_bark_gui_generation_temperature, 2, 0, 1, 1)
self.label_bark_gui_waveform_temperature = QtWidgets.QLabel(self.groupBox_bark_gui)
self.label_bark_gui_waveform_temperature.setObjectName("label_bark_gui_waveform_temperature")
self.gridLayout_56.addWidget(self.label_bark_gui_waveform_temperature, 3, 0, 1, 1)
self.label_bark_gui_spk = QtWidgets.QLabel(self.groupBox_bark_gui)
self.label_bark_gui_spk.setObjectName("label_bark_gui_spk")
self.gridLayout_56.addWidget(self.label_bark_gui_spk, 1, 0, 1, 1)
self.lineEdit_bark_gui_api_ip_port = QtWidgets.QLineEdit(self.groupBox_bark_gui)
self.lineEdit_bark_gui_api_ip_port.setObjectName("lineEdit_bark_gui_api_ip_port")
self.gridLayout_56.addWidget(self.lineEdit_bark_gui_api_ip_port, 0, 1, 1, 1)
self.lineEdit_bark_gui_spk = QtWidgets.QLineEdit(self.groupBox_bark_gui)
self.lineEdit_bark_gui_spk.setObjectName("lineEdit_bark_gui_spk")
self.gridLayout_56.addWidget(self.lineEdit_bark_gui_spk, 1, 1, 1, 1)
self.lineEdit_bark_gui_generation_temperature = QtWidgets.QLineEdit(self.groupBox_bark_gui)
self.lineEdit_bark_gui_generation_temperature.setObjectName("lineEdit_bark_gui_generation_temperature")
self.gridLayout_56.addWidget(self.lineEdit_bark_gui_generation_temperature, 2, 1, 1, 1)
self.lineEdit_bark_gui_waveform_temperature = QtWidgets.QLineEdit(self.groupBox_bark_gui)
self.lineEdit_bark_gui_waveform_temperature.setObjectName("lineEdit_bark_gui_waveform_temperature")
self.gridLayout_56.addWidget(self.lineEdit_bark_gui_waveform_temperature, 3, 1, 1, 1)
self.lineEdit_bark_gui_end_of_sentence_probability = QtWidgets.QLineEdit(self.groupBox_bark_gui)
self.lineEdit_bark_gui_end_of_sentence_probability.setObjectName("lineEdit_bark_gui_end_of_sentence_probability")
self.gridLayout_56.addWidget(self.lineEdit_bark_gui_end_of_sentence_probability, 4, 1, 1, 1)
self.lineEdit_bark_gui_batch_count = QtWidgets.QLineEdit(self.groupBox_bark_gui)
self.lineEdit_bark_gui_batch_count.setObjectName("lineEdit_bark_gui_batch_count")
self.gridLayout_56.addWidget(self.lineEdit_bark_gui_batch_count, 7, 1, 1, 1)
self.lineEdit_bark_gui_seed = QtWidgets.QLineEdit(self.groupBox_bark_gui)
self.lineEdit_bark_gui_seed.setObjectName("lineEdit_bark_gui_seed")
self.gridLayout_56.addWidget(self.lineEdit_bark_gui_seed, 6, 1, 1, 1)
self.checkBox_bark_gui_quick_generation = QtWidgets.QCheckBox(self.groupBox_bark_gui)
self.checkBox_bark_gui_quick_generation.setObjectName("checkBox_bark_gui_quick_generation")
self.gridLayout_56.addWidget(self.checkBox_bark_gui_quick_generation, 5, 1, 1, 1)
self.gridLayout_57.addLayout(self.gridLayout_56, 0, 0, 1, 1)
self.verticalLayout.addWidget(self.groupBox_bark_gui)
self.groupBox_live2d = QtWidgets.QGroupBox(self.scrollAreaWidgetContents)
self.groupBox_live2d.setObjectName("groupBox_live2d")
self.gridLayout_30 = QtWidgets.QGridLayout(self.groupBox_live2d)
self.gridLayout_30.setObjectName("gridLayout_30")
self.gridLayout_29 = QtWidgets.QGridLayout()
self.gridLayout_29.setObjectName("gridLayout_29")
self.checkBox_live2d_enable = QtWidgets.QCheckBox(self.groupBox_live2d)
self.checkBox_live2d_enable.setObjectName("checkBox_live2d_enable")
self.gridLayout_29.addWidget(self.checkBox_live2d_enable, 0, 1, 1, 1)
self.lineEdit_live2d_port = QtWidgets.QLineEdit(self.groupBox_live2d)
self.lineEdit_live2d_port.setObjectName("lineEdit_live2d_port")
self.gridLayout_29.addWidget(self.lineEdit_live2d_port, 1, 1, 1, 1)
self.label_live2d_port = QtWidgets.QLabel(self.groupBox_live2d)
self.label_live2d_port.setObjectName("label_live2d_port")
self.gridLayout_29.addWidget(self.label_live2d_port, 1, 0, 1, 1)
self.label_live2d_enable = QtWidgets.QLabel(self.groupBox_live2d)
self.label_live2d_enable.setObjectName("label_live2d_enable")
self.gridLayout_29.addWidget(self.label_live2d_enable, 0, 0, 1, 1)
self.label_live2d_name = QtWidgets.QLabel(self.groupBox_live2d)
self.label_live2d_name.setObjectName("label_live2d_name")
self.gridLayout_29.addWidget(self.label_live2d_name, 2, 0, 1, 1)
self.comboBox_live2d_name = QtWidgets.QComboBox(self.groupBox_live2d)
self.comboBox_live2d_name.setObjectName("comboBox_live2d_name")
self.gridLayout_29.addWidget(self.comboBox_live2d_name, 2, 1, 1, 1)
self.gridLayout_29.setColumnStretch(0, 1)
self.gridLayout_29.setColumnStretch(1, 8)
self.gridLayout_30.addLayout(self.gridLayout_29, 0, 0, 1, 1)
self.verticalLayout.addWidget(self.groupBox_live2d)
self.groupBox_choose_song = QtWidgets.QGroupBox(self.scrollAreaWidgetContents)
self.groupBox_choose_song.setObjectName("groupBox_choose_song")
self.gridLayout_34 = QtWidgets.QGridLayout(self.groupBox_choose_song)
self.gridLayout_34.setObjectName("gridLayout_34")
self.gridLayout_33 = QtWidgets.QGridLayout()
self.gridLayout_33.setObjectName("gridLayout_33")
self.label_choose_song_stop_cmd = QtWidgets.QLabel(self.groupBox_choose_song)
self.label_choose_song_stop_cmd.setObjectName("label_choose_song_stop_cmd")
self.gridLayout_33.addWidget(self.label_choose_song_stop_cmd, 2, 0, 1, 1)
self.lineEdit_choose_song_start_cmd = QtWidgets.QLineEdit(self.groupBox_choose_song)
self.lineEdit_choose_song_start_cmd.setObjectName("lineEdit_choose_song_start_cmd")
self.gridLayout_33.addWidget(self.lineEdit_choose_song_start_cmd, 1, 1, 1, 1)
self.label_choose_song_song_path = QtWidgets.QLabel(self.groupBox_choose_song)
self.label_choose_song_song_path.setObjectName("label_choose_song_song_path")
self.gridLayout_33.addWidget(self.label_choose_song_song_path, 4, 0, 1, 1)
self.checkBox_choose_song_enable = QtWidgets.QCheckBox(self.groupBox_choose_song)
self.checkBox_choose_song_enable.setObjectName("checkBox_choose_song_enable")
self.gridLayout_33.addWidget(self.checkBox_choose_song_enable, 0, 1, 1, 1)
self.lineEdit_choose_song_song_path = QtWidgets.QLineEdit(self.groupBox_choose_song)
self.lineEdit_choose_song_song_path.setObjectName("lineEdit_choose_song_song_path")
self.gridLayout_33.addWidget(self.lineEdit_choose_song_song_path, 4, 1, 1, 1)
self.label_choose_song_start_cmd = QtWidgets.QLabel(self.groupBox_choose_song)
self.label_choose_song_start_cmd.setObjectName("label_choose_song_start_cmd")
self.gridLayout_33.addWidget(self.label_choose_song_start_cmd, 1, 0, 1, 1)
self.label_choose_song_enable = QtWidgets.QLabel(self.groupBox_choose_song)
self.label_choose_song_enable.setObjectName("label_choose_song_enable")
self.gridLayout_33.addWidget(self.label_choose_song_enable, 0, 0, 1, 1)
self.label_choose_song_match_fail_copy = QtWidgets.QLabel(self.groupBox_choose_song)
self.label_choose_song_match_fail_copy.setObjectName("label_choose_song_match_fail_copy")
self.gridLayout_33.addWidget(self.label_choose_song_match_fail_copy, 5, 0, 1, 1)
self.lineEdit_choose_song_stop_cmd = QtWidgets.QLineEdit(self.groupBox_choose_song)
self.lineEdit_choose_song_stop_cmd.setObjectName("lineEdit_choose_song_stop_cmd")
self.gridLayout_33.addWidget(self.lineEdit_choose_song_stop_cmd, 2, 1, 1, 1)
self.lineEdit_choose_song_match_fail_copy = QtWidgets.QLineEdit(self.groupBox_choose_song)
self.lineEdit_choose_song_match_fail_copy.setObjectName("lineEdit_choose_song_match_fail_copy")
self.gridLayout_33.addWidget(self.lineEdit_choose_song_match_fail_copy, 5, 1, 1, 1)
self.lineEdit_choose_song_random_cmd = QtWidgets.QLineEdit(self.groupBox_choose_song)
self.lineEdit_choose_song_random_cmd.setObjectName("lineEdit_choose_song_random_cmd")
self.gridLayout_33.addWidget(self.lineEdit_choose_song_random_cmd, 3, 1, 1, 1)
self.label_choose_song_random_cmd = QtWidgets.QLabel(self.groupBox_choose_song)
self.label_choose_song_random_cmd.setObjectName("label_choose_song_random_cmd")
self.gridLayout_33.addWidget(self.label_choose_song_random_cmd, 3, 0, 1, 1)
self.gridLayout_34.addLayout(self.gridLayout_33, 0, 0, 1, 1)
self.verticalLayout.addWidget(self.groupBox_choose_song)
self.groupBox_schedule = QtWidgets.QGroupBox(self.scrollAreaWidgetContents)
self.groupBox_schedule.setObjectName("groupBox_schedule")
self.gridLayout_61 = QtWidgets.QGridLayout(self.groupBox_schedule)
self.gridLayout_61.setObjectName("gridLayout_61")
self.gridLayout_schedule = QtWidgets.QGridLayout()
self.gridLayout_schedule.setObjectName("gridLayout_schedule")
self.gridLayout_61.addLayout(self.gridLayout_schedule, 0, 0, 1, 1)
self.verticalLayout.addWidget(self.groupBox_schedule)
self.groupBox_ddsp_svc = QtWidgets.QGroupBox(self.scrollAreaWidgetContents)
self.groupBox_ddsp_svc.setObjectName("groupBox_ddsp_svc")
self.gridLayout_49 = QtWidgets.QGridLayout(self.groupBox_ddsp_svc)
self.gridLayout_49.setObjectName("gridLayout_49")
self.gridLayout_48 = QtWidgets.QGridLayout()
self.gridLayout_48.setObjectName("gridLayout_48")
self.label_ddsp_svc_enable = QtWidgets.QLabel(self.groupBox_ddsp_svc)
self.label_ddsp_svc_enable.setObjectName("label_ddsp_svc_enable")
self.gridLayout_48.addWidget(self.label_ddsp_svc_enable, 0, 0, 1, 1)
self.label_ddsp_svc_fSafePrefixPadLength = QtWidgets.QLabel(self.groupBox_ddsp_svc)
self.label_ddsp_svc_fSafePrefixPadLength.setObjectName("label_ddsp_svc_fSafePrefixPadLength")
self.gridLayout_48.addWidget(self.label_ddsp_svc_fSafePrefixPadLength, 3, 0, 1, 1)
self.lineEdit_ddsp_svc_sSpeakId = QtWidgets.QLineEdit(self.groupBox_ddsp_svc)
self.lineEdit_ddsp_svc_sSpeakId.setObjectName("lineEdit_ddsp_svc_sSpeakId")
self.gridLayout_48.addWidget(self.lineEdit_ddsp_svc_sSpeakId, 5, 1, 1, 1)
self.checkBox_ddsp_svc_enable = QtWidgets.QCheckBox(self.groupBox_ddsp_svc)
self.checkBox_ddsp_svc_enable.setObjectName("checkBox_ddsp_svc_enable")
self.gridLayout_48.addWidget(self.checkBox_ddsp_svc_enable, 0, 1, 1, 1)
self.lineEdit_ddsp_svc_api_ip_port = QtWidgets.QLineEdit(self.groupBox_ddsp_svc)
self.lineEdit_ddsp_svc_api_ip_port.setObjectName("lineEdit_ddsp_svc_api_ip_port")
self.gridLayout_48.addWidget(self.lineEdit_ddsp_svc_api_ip_port, 2, 1, 1, 1)
self.label_ddsp_svc_api_ip_port = QtWidgets.QLabel(self.groupBox_ddsp_svc)
self.label_ddsp_svc_api_ip_port.setObjectName("label_ddsp_svc_api_ip_port")
self.gridLayout_48.addWidget(self.label_ddsp_svc_api_ip_port, 2, 0, 1, 1)
self.label_ddsp_svc_config_path = QtWidgets.QLabel(self.groupBox_ddsp_svc)
self.label_ddsp_svc_config_path.setObjectName("label_ddsp_svc_config_path")
self.gridLayout_48.addWidget(self.label_ddsp_svc_config_path, 1, 0, 1, 1)
self.lineEdit_ddsp_svc_fSafePrefixPadLength = QtWidgets.QLineEdit(self.groupBox_ddsp_svc)
self.lineEdit_ddsp_svc_fSafePrefixPadLength.setObjectName("lineEdit_ddsp_svc_fSafePrefixPadLength")
self.gridLayout_48.addWidget(self.lineEdit_ddsp_svc_fSafePrefixPadLength, 3, 1, 1, 1)
self.lineEdit_ddsp_svc_fPitchChange = QtWidgets.QLineEdit(self.groupBox_ddsp_svc)
self.lineEdit_ddsp_svc_fPitchChange.setObjectName("lineEdit_ddsp_svc_fPitchChange")
self.gridLayout_48.addWidget(self.lineEdit_ddsp_svc_fPitchChange, 4, 1, 1, 1)
self.label_ddsp_svc_sSpeakId = QtWidgets.QLabel(self.groupBox_ddsp_svc)
self.label_ddsp_svc_sSpeakId.setObjectName("label_ddsp_svc_sSpeakId")
self.gridLayout_48.addWidget(self.label_ddsp_svc_sSpeakId, 5, 0, 1, 1)
self.lineEdit_ddsp_svc_config_path = QtWidgets.QLineEdit(self.groupBox_ddsp_svc)
self.lineEdit_ddsp_svc_config_path.setObjectName("lineEdit_ddsp_svc_config_path")
self.gridLayout_48.addWidget(self.lineEdit_ddsp_svc_config_path, 1, 1, 1, 1)
self.label_ddsp_svc_fPitchChange = QtWidgets.QLabel(self.groupBox_ddsp_svc)
self.label_ddsp_svc_fPitchChange.setObjectName("label_ddsp_svc_fPitchChange")
self.gridLayout_48.addWidget(self.label_ddsp_svc_fPitchChange, 4, 0, 1, 1)
self.label_ddsp_svc_sampleRate = QtWidgets.QLabel(self.groupBox_ddsp_svc)
self.label_ddsp_svc_sampleRate.setObjectName("label_ddsp_svc_sampleRate")
self.gridLayout_48.addWidget(self.label_ddsp_svc_sampleRate, 6, 0, 1, 1)
self.lineEdit_ddsp_svc_sampleRate = QtWidgets.QLineEdit(self.groupBox_ddsp_svc)
self.lineEdit_ddsp_svc_sampleRate.setObjectName("lineEdit_ddsp_svc_sampleRate")
self.gridLayout_48.addWidget(self.lineEdit_ddsp_svc_sampleRate, 6, 1, 1, 1)
self.gridLayout_49.addLayout(self.gridLayout_48, 0, 0, 1, 1)
self.verticalLayout.addWidget(self.groupBox_ddsp_svc)
self.groupBox_so_vits_svc = QtWidgets.QGroupBox(self.scrollAreaWidgetContents)
self.groupBox_so_vits_svc.setObjectName("groupBox_so_vits_svc")
self.gridLayout_36 = QtWidgets.QGridLayout(self.groupBox_so_vits_svc)
self.gridLayout_36.setObjectName("gridLayout_36")
self.gridLayout_35 = QtWidgets.QGridLayout()
self.gridLayout_35.setObjectName("gridLayout_35")
self.checkBox_so_vits_svc_enable = QtWidgets.QCheckBox(self.groupBox_so_vits_svc)
self.checkBox_so_vits_svc_enable.setObjectName("checkBox_so_vits_svc_enable")
self.gridLayout_35.addWidget(self.checkBox_so_vits_svc_enable, 0, 1, 1, 1)
self.lineEdit_so_vits_svc_api_ip_port = QtWidgets.QLineEdit(self.groupBox_so_vits_svc)
self.lineEdit_so_vits_svc_api_ip_port.setObjectName("lineEdit_so_vits_svc_api_ip_port")
self.gridLayout_35.addWidget(self.lineEdit_so_vits_svc_api_ip_port, 2, 1, 1, 1)
self.label_so_vits_svc_config_path = QtWidgets.QLabel(self.groupBox_so_vits_svc)
self.label_so_vits_svc_config_path.setObjectName("label_so_vits_svc_config_path")
self.gridLayout_35.addWidget(self.label_so_vits_svc_config_path, 1, 0, 1, 1)
self.label_so_vits_svc_api_ip_port = QtWidgets.QLabel(self.groupBox_so_vits_svc)
self.label_so_vits_svc_api_ip_port.setObjectName("label_so_vits_svc_api_ip_port")
self.gridLayout_35.addWidget(self.label_so_vits_svc_api_ip_port, 2, 0, 1, 1)
self.lineEdit_so_vits_svc_tran = QtWidgets.QLineEdit(self.groupBox_so_vits_svc)
self.lineEdit_so_vits_svc_tran.setObjectName("lineEdit_so_vits_svc_tran")
self.gridLayout_35.addWidget(self.lineEdit_so_vits_svc_tran, 4, 1, 1, 1)
self.lineEdit_so_vits_svc_config_path = QtWidgets.QLineEdit(self.groupBox_so_vits_svc)
self.lineEdit_so_vits_svc_config_path.setObjectName("lineEdit_so_vits_svc_config_path")
self.gridLayout_35.addWidget(self.lineEdit_so_vits_svc_config_path, 1, 1, 1, 1)
self.label_so_vits_svc_enable = QtWidgets.QLabel(self.groupBox_so_vits_svc)
self.label_so_vits_svc_enable.setObjectName("label_so_vits_svc_enable")
self.gridLayout_35.addWidget(self.label_so_vits_svc_enable, 0, 0, 1, 1)
self.label_so_vits_svc_spk = QtWidgets.QLabel(self.groupBox_so_vits_svc)
self.label_so_vits_svc_spk.setObjectName("label_so_vits_svc_spk")
self.gridLayout_35.addWidget(self.label_so_vits_svc_spk, 3, 0, 1, 1)
self.lineEdit_so_vits_svc_spk = QtWidgets.QLineEdit(self.groupBox_so_vits_svc)
self.lineEdit_so_vits_svc_spk.setObjectName("lineEdit_so_vits_svc_spk")
self.gridLayout_35.addWidget(self.lineEdit_so_vits_svc_spk, 3, 1, 1, 1)
self.label_so_vits_svc_tran = QtWidgets.QLabel(self.groupBox_so_vits_svc)
self.label_so_vits_svc_tran.setObjectName("label_so_vits_svc_tran")
self.gridLayout_35.addWidget(self.label_so_vits_svc_tran, 4, 0, 1, 1)
self.label_so_vits_svc_wav_format = QtWidgets.QLabel(self.groupBox_so_vits_svc)
self.label_so_vits_svc_wav_format.setObjectName("label_so_vits_svc_wav_format")
self.gridLayout_35.addWidget(self.label_so_vits_svc_wav_format, 5, 0, 1, 1)
self.lineEdit_so_vits_svc_wav_format = QtWidgets.QLineEdit(self.groupBox_so_vits_svc)
self.lineEdit_so_vits_svc_wav_format.setObjectName("lineEdit_so_vits_svc_wav_format")
self.gridLayout_35.addWidget(self.lineEdit_so_vits_svc_wav_format, 5, 1, 1, 1)
self.gridLayout_36.addLayout(self.gridLayout_35, 0, 0, 1, 1)
self.verticalLayout.addWidget(self.groupBox_so_vits_svc)
self.groupBox_sd = QtWidgets.QGroupBox(self.scrollAreaWidgetContents)
self.groupBox_sd.setObjectName("groupBox_sd")
self.gridLayout_32 = QtWidgets.QGridLayout(self.groupBox_sd)
self.gridLayout_32.setObjectName("gridLayout_32")
self.gridLayout_31 = QtWidgets.QGridLayout()
self.gridLayout_31.setObjectName("gridLayout_31")
self.lineEdit_sd_hr_second_pass_steps = QtWidgets.QLineEdit(self.groupBox_sd)
self.lineEdit_sd_hr_second_pass_steps.setObjectName("lineEdit_sd_hr_second_pass_steps")
self.gridLayout_31.addWidget(self.lineEdit_sd_hr_second_pass_steps, 16, 1, 1, 1)
self.lineEdit_prompt_llm_before_prompt = QtWidgets.QLineEdit(self.groupBox_sd)
self.lineEdit_prompt_llm_before_prompt.setObjectName("lineEdit_prompt_llm_before_prompt")
self.gridLayout_31.addWidget(self.lineEdit_prompt_llm_before_prompt, 2, 1, 1, 1)
self.lineEdit_sd_seed = QtWidgets.QLineEdit(self.groupBox_sd)
self.lineEdit_sd_seed.setObjectName("lineEdit_sd_seed")
self.gridLayout_31.addWidget(self.lineEdit_sd_seed, 8, 1, 1, 1)
self.lineEdit_sd_steps = QtWidgets.QLineEdit(self.groupBox_sd)
self.lineEdit_sd_steps.setObjectName("lineEdit_sd_steps")
self.gridLayout_31.addWidget(self.lineEdit_sd_steps, 11, 1, 1, 1)
self.label_sd_port = QtWidgets.QLabel(self.groupBox_sd)
self.label_sd_port.setObjectName("label_sd_port")
self.gridLayout_31.addWidget(self.label_sd_port, 6, 0, 1, 1)
self.lineEdit_sd_cfg_scale = QtWidgets.QLineEdit(self.groupBox_sd)
self.lineEdit_sd_cfg_scale.setObjectName("lineEdit_sd_cfg_scale")
self.gridLayout_31.addWidget(self.lineEdit_sd_cfg_scale, 10, 1, 1, 1)
self.label_sd_enable_hr = QtWidgets.QLabel(self.groupBox_sd)
self.label_sd_enable_hr.setObjectName("label_sd_enable_hr")
self.gridLayout_31.addWidget(self.label_sd_enable_hr, 14, 0, 1, 1)
self.comboBox_prompt_llm_type = QtWidgets.QComboBox(self.groupBox_sd)
self.comboBox_prompt_llm_type.setObjectName("comboBox_prompt_llm_type")
self.gridLayout_31.addWidget(self.comboBox_prompt_llm_type, 1, 1, 1, 1)
self.lineEdit_sd_hr_resize_x = QtWidgets.QLineEdit(self.groupBox_sd)
self.lineEdit_sd_hr_resize_x.setObjectName("lineEdit_sd_hr_resize_x")
self.gridLayout_31.addWidget(self.lineEdit_sd_hr_resize_x, 12, 1, 1, 1)
self.lineEdit_sd_ip = QtWidgets.QLineEdit(self.groupBox_sd)
self.lineEdit_sd_ip.setObjectName("lineEdit_sd_ip")
self.gridLayout_31.addWidget(self.lineEdit_sd_ip, 5, 1, 1, 1)
self.label_sd_hr_scale = QtWidgets.QLabel(self.groupBox_sd)
self.label_sd_hr_scale.setObjectName("label_sd_hr_scale")
self.gridLayout_31.addWidget(self.label_sd_hr_scale, 15, 0, 1, 1)
self.lineEdit_sd_denoising_strength = QtWidgets.QLineEdit(self.groupBox_sd)
self.lineEdit_sd_denoising_strength.setObjectName("lineEdit_sd_denoising_strength")
self.gridLayout_31.addWidget(self.lineEdit_sd_denoising_strength, 17, 1, 1, 1)
self.lineEdit_sd_hr_resize_y = QtWidgets.QLineEdit(self.groupBox_sd)
self.lineEdit_sd_hr_resize_y.setObjectName("lineEdit_sd_hr_resize_y")
self.gridLayout_31.addWidget(self.lineEdit_sd_hr_resize_y, 13, 1, 1, 1)
self.lineEdit_sd_port = QtWidgets.QLineEdit(self.groupBox_sd)
self.lineEdit_sd_port.setObjectName("lineEdit_sd_port")
self.gridLayout_31.addWidget(self.lineEdit_sd_port, 6, 1, 1, 1)
self.lineEdit_sd_hr_scale = QtWidgets.QLineEdit(self.groupBox_sd)
self.lineEdit_sd_hr_scale.setObjectName("lineEdit_sd_hr_scale")
self.gridLayout_31.addWidget(self.lineEdit_sd_hr_scale, 15, 1, 1, 1)
self.label_sd_hr_resize_x = QtWidgets.QLabel(self.groupBox_sd)
self.label_sd_hr_resize_x.setObjectName("label_sd_hr_resize_x")
self.gridLayout_31.addWidget(self.label_sd_hr_resize_x, 12, 0, 1, 1)
self.label_sd_hr_second_pass_steps = QtWidgets.QLabel(self.groupBox_sd)
self.label_sd_hr_second_pass_steps.setObjectName("label_sd_hr_second_pass_steps")
self.gridLayout_31.addWidget(self.label_sd_hr_second_pass_steps, 16, 0, 1, 1)
self.label_sd_denoising_strength = QtWidgets.QLabel(self.groupBox_sd)
self.label_sd_denoising_strength.setObjectName("label_sd_denoising_strength")
self.gridLayout_31.addWidget(self.label_sd_denoising_strength, 17, 0, 1, 1)
self.label_prompt_llm_type = QtWidgets.QLabel(self.groupBox_sd)
self.label_prompt_llm_type.setObjectName("label_prompt_llm_type")
self.gridLayout_31.addWidget(self.label_prompt_llm_type, 1, 0, 1, 1)
self.label_prompt_llm_before_prompt = QtWidgets.QLabel(self.groupBox_sd)
self.label_prompt_llm_before_prompt.setObjectName("label_prompt_llm_before_prompt")
self.gridLayout_31.addWidget(self.label_prompt_llm_before_prompt, 2, 0, 1, 1)
self.checkBox_sd_enable_hr = QtWidgets.QCheckBox(self.groupBox_sd)
self.checkBox_sd_enable_hr.setObjectName("checkBox_sd_enable_hr")
self.gridLayout_31.addWidget(self.checkBox_sd_enable_hr, 14, 1, 1, 1)
self.label_sd_trigger = QtWidgets.QLabel(self.groupBox_sd)
self.label_sd_trigger.setObjectName("label_sd_trigger")
self.gridLayout_31.addWidget(self.label_sd_trigger, 4, 0, 1, 1)
self.label_sd_ip = QtWidgets.QLabel(self.groupBox_sd)
self.label_sd_ip.setObjectName("label_sd_ip")
self.gridLayout_31.addWidget(self.label_sd_ip, 5, 0, 1, 1)
self.label_sd_steps = QtWidgets.QLabel(self.groupBox_sd)
self.label_sd_steps.setObjectName("label_sd_steps")
self.gridLayout_31.addWidget(self.label_sd_steps, 11, 0, 1, 1)
self.label_sd_seed = QtWidgets.QLabel(self.groupBox_sd)
self.label_sd_seed.setObjectName("label_sd_seed")
self.gridLayout_31.addWidget(self.label_sd_seed, 8, 0, 1, 1)
self.lineEdit_sd_negative_prompt = QtWidgets.QLineEdit(self.groupBox_sd)
self.lineEdit_sd_negative_prompt.setObjectName("lineEdit_sd_negative_prompt")
self.gridLayout_31.addWidget(self.lineEdit_sd_negative_prompt, 7, 1, 1, 1)
self.label_sd_styles = QtWidgets.QLabel(self.groupBox_sd)
self.label_sd_styles.setObjectName("label_sd_styles")
self.gridLayout_31.addWidget(self.label_sd_styles, 9, 0, 1, 1)
self.label_sd_enable = QtWidgets.QLabel(self.groupBox_sd)
self.label_sd_enable.setObjectName("label_sd_enable")
self.gridLayout_31.addWidget(self.label_sd_enable, 0, 0, 1, 1)
self.label_sd_cfg_scale = QtWidgets.QLabel(self.groupBox_sd)
self.label_sd_cfg_scale.setObjectName("label_sd_cfg_scale")
self.gridLayout_31.addWidget(self.label_sd_cfg_scale, 10, 0, 1, 1)
self.textEdit_sd_styles = QtWidgets.QTextEdit(self.groupBox_sd)
self.textEdit_sd_styles.setObjectName("textEdit_sd_styles")
self.gridLayout_31.addWidget(self.textEdit_sd_styles, 9, 1, 1, 1)
self.label_sd_hr_resize_y = QtWidgets.QLabel(self.groupBox_sd)
self.label_sd_hr_resize_y.setObjectName("label_sd_hr_resize_y")
self.gridLayout_31.addWidget(self.label_sd_hr_resize_y, 13, 0, 1, 1)
self.lineEdit_sd_trigger = QtWidgets.QLineEdit(self.groupBox_sd)
self.lineEdit_sd_trigger.setObjectName("lineEdit_sd_trigger")
self.gridLayout_31.addWidget(self.lineEdit_sd_trigger, 4, 1, 1, 1)
self.checkBox_sd_enable = QtWidgets.QCheckBox(self.groupBox_sd)
self.checkBox_sd_enable.setObjectName("checkBox_sd_enable")
self.gridLayout_31.addWidget(self.checkBox_sd_enable, 0, 1, 1, 1)
self.label_sd_negative_prompt = QtWidgets.QLabel(self.groupBox_sd)
self.label_sd_negative_prompt.setObjectName("label_sd_negative_prompt")
self.gridLayout_31.addWidget(self.label_sd_negative_prompt, 7, 0, 1, 1)
self.label_prompt_llm_after_prompt = QtWidgets.QLabel(self.groupBox_sd)
self.label_prompt_llm_after_prompt.setObjectName("label_prompt_llm_after_prompt")
self.gridLayout_31.addWidget(self.label_prompt_llm_after_prompt, 3, 0, 1, 1)
self.lineEdit_prompt_llm_after_prompt = QtWidgets.QLineEdit(self.groupBox_sd)
self.lineEdit_prompt_llm_after_prompt.setObjectName("lineEdit_prompt_llm_after_prompt")
self.gridLayout_31.addWidget(self.lineEdit_prompt_llm_after_prompt, 3, 1, 1, 1)
self.gridLayout_32.addLayout(self.gridLayout_31, 0, 0, 1, 1)
self.verticalLayout.addWidget(self.groupBox_sd)
self.groupBox_trends_copywriting = QtWidgets.QGroupBox(self.scrollAreaWidgetContents)
self.groupBox_trends_copywriting.setObjectName("groupBox_trends_copywriting")
self.gridLayout_66 = QtWidgets.QGridLayout(self.groupBox_trends_copywriting)
self.gridLayout_66.setObjectName("gridLayout_66")
self.gridLayout_trends_copywriting = QtWidgets.QGridLayout()
self.gridLayout_trends_copywriting.setObjectName("gridLayout_trends_copywriting")
self.label_trends_copywriting_random_play = QtWidgets.QLabel(self.groupBox_trends_copywriting)
self.label_trends_copywriting_random_play.setObjectName("label_trends_copywriting_random_play")
self.gridLayout_trends_copywriting.addWidget(self.label_trends_copywriting_random_play, 2, 0, 1, 1)
self.checkBox_trends_copywriting_random_play = QtWidgets.QCheckBox(self.groupBox_trends_copywriting)
self.checkBox_trends_copywriting_random_play.setObjectName("checkBox_trends_copywriting_random_play")
self.gridLayout_trends_copywriting.addWidget(self.checkBox_trends_copywriting_random_play, 2, 1, 1, 1)
self.lineEdit_trends_copywriting_play_interval = QtWidgets.QLineEdit(self.groupBox_trends_copywriting)
self.lineEdit_trends_copywriting_play_interval.setObjectName("lineEdit_trends_copywriting_play_interval")
self.gridLayout_trends_copywriting.addWidget(self.lineEdit_trends_copywriting_play_interval, 3, 1, 1, 1)
self.gridLayout_trends_copywriting_2 = QtWidgets.QGridLayout()
self.gridLayout_trends_copywriting_2.setObjectName("gridLayout_trends_copywriting_2")
self.gridLayout_trends_copywriting.addLayout(self.gridLayout_trends_copywriting_2, 0, 0, 1, 2)
self.label_trends_copywriting_play_interval = QtWidgets.QLabel(self.groupBox_trends_copywriting)
self.label_trends_copywriting_play_interval.setObjectName("label_trends_copywriting_play_interval")
self.gridLayout_trends_copywriting.addWidget(self.label_trends_copywriting_play_interval, 3, 0, 1, 1)
self.label_trends_copywriting_enable = QtWidgets.QLabel(self.groupBox_trends_copywriting)
self.label_trends_copywriting_enable.setObjectName("label_trends_copywriting_enable")
self.gridLayout_trends_copywriting.addWidget(self.label_trends_copywriting_enable, 1, 0, 1, 1)
self.checkBox_trends_copywriting_enable = QtWidgets.QCheckBox(self.groupBox_trends_copywriting)
self.checkBox_trends_copywriting_enable.setObjectName("checkBox_trends_copywriting_enable")
self.gridLayout_trends_copywriting.addWidget(self.checkBox_trends_copywriting_enable, 1, 1, 1, 1)
self.gridLayout_66.addLayout(self.gridLayout_trends_copywriting, 0, 0, 1, 1)
self.verticalLayout.addWidget(self.groupBox_trends_copywriting)
self.groupBox_header = QtWidgets.QGroupBox(self.scrollAreaWidgetContents)
self.groupBox_header.setObjectName("groupBox_header")
self.gridLayout_18 = QtWidgets.QGridLayout(self.groupBox_header)
self.gridLayout_18.setObjectName("gridLayout_18")
self.gridLayout_19 = QtWidgets.QGridLayout()
self.gridLayout_19.setObjectName("gridLayout_19")
self.label_header_useragent = QtWidgets.QLabel(self.groupBox_header)
self.label_header_useragent.setObjectName("label_header_useragent")
self.gridLayout_19.addWidget(self.label_header_useragent, 0, 0, 1, 1)
self.lineEdit_header_useragent = QtWidgets.QLineEdit(self.groupBox_header)
self.lineEdit_header_useragent.setObjectName("lineEdit_header_useragent")
self.gridLayout_19.addWidget(self.lineEdit_header_useragent, 0, 1, 1, 1)
self.gridLayout_18.addLayout(self.gridLayout_19, 0, 1, 1, 1)
self.verticalLayout.addWidget(self.groupBox_header)
self.groupBox_database = QtWidgets.QGroupBox(self.scrollAreaWidgetContents)
self.groupBox_database.setObjectName("groupBox_database")
self.gridLayout_67 = QtWidgets.QGridLayout(self.groupBox_database)
self.gridLayout_67.setObjectName("gridLayout_67")
self.gridLayout_database = QtWidgets.QGridLayout()
self.gridLayout_database.setObjectName("gridLayout_database")
self.gridLayout_67.addLayout(self.gridLayout_database, 0, 0, 1, 1)
self.verticalLayout.addWidget(self.groupBox_database)
self.scrollArea.setWidget(self.scrollAreaWidgetContents)
self.gridLayout_21.addWidget(self.scrollArea, 0, 0, 1, 1)
self.stackedWidget.addWidget(self.page)
self.page_2 = QtWidgets.QWidget()
self.page_2.setObjectName("page_2")
self.gridLayout_22 = QtWidgets.QGridLayout(self.page_2)
self.gridLayout_22.setObjectName("gridLayout_22")
self.textBrowser = QtWidgets.QTextBrowser(self.page_2)
self.textBrowser.setStyleSheet("font: 12pt \"仿宋\";\n"
"")
self.textBrowser.setObjectName("textBrowser")
self.gridLayout_22.addWidget(self.textBrowser, 0, 0, 1, 1)
self.stackedWidget.addWidget(self.page_2)
self.page_3 = QtWidgets.QWidget()
self.page_3.setObjectName("page_3")
self.gridLayout_38 = QtWidgets.QGridLayout(self.page_3)
self.gridLayout_38.setObjectName("gridLayout_38")
self.scrollArea_2 = QtWidgets.QScrollArea(self.page_3)
self.scrollArea_2.setStyleSheet("font: 75 13pt \"微软雅黑\";\n"
"")
self.scrollArea_2.setWidgetResizable(True)
self.scrollArea_2.setObjectName("scrollArea_2")
self.scrollAreaWidgetContents_2 = QtWidgets.QWidget()
self.scrollAreaWidgetContents_2.setGeometry(QtCore.QRect(0, -128, 963, 1115))
self.scrollAreaWidgetContents_2.setObjectName("scrollAreaWidgetContents_2")
self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.scrollAreaWidgetContents_2)
self.verticalLayout_2.setObjectName("verticalLayout_2")
self.widget = QtWidgets.QWidget(self.scrollAreaWidgetContents_2)
self.widget.setAutoFillBackground(False)
self.widget.setStyleSheet("")
self.widget.setObjectName("widget")
self.gridLayout_37 = QtWidgets.QGridLayout(self.widget)
self.gridLayout_37.setObjectName("gridLayout_37")
spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.gridLayout_37.addItem(spacerItem, 6, 0, 1, 1)
self.textEdit_copywriting_edit = QtWidgets.QTextEdit(self.widget)
self.textEdit_copywriting_edit.setStyleSheet("min-height:300px;")
self.textEdit_copywriting_edit.setObjectName("textEdit_copywriting_edit")
self.gridLayout_37.addWidget(self.textEdit_copywriting_edit, 5, 1, 1, 5)
self.pushButton_copywriting_select = QtWidgets.QPushButton(self.widget)
self.pushButton_copywriting_select.setCursor(QtGui.QCursor(QtCore.Qt.PointingHandCursor))
self.pushButton_copywriting_select.setStyleSheet("text-align: center;\n"
"padding: 12px 16px;\n"
"font: 80 10pt \"微软雅黑\";\n"
"border:2px solid #ffffff;\n"
"border-radius: 3px;")
self.pushButton_copywriting_select.setObjectName("pushButton_copywriting_select")
self.gridLayout_37.addWidget(self.pushButton_copywriting_select, 4, 4, 1, 1)
self.label_copywriting_select = QtWidgets.QLabel(self.widget)
self.label_copywriting_select.setStyleSheet("")
self.label_copywriting_select.setObjectName("label_copywriting_select")
self.gridLayout_37.addWidget(self.label_copywriting_select, 4, 0, 1, 1)
self.lineEdit_copywriting_switching_interval = QtWidgets.QLineEdit(self.widget)
self.lineEdit_copywriting_switching_interval.setStyleSheet("min-height:40px;")
self.lineEdit_copywriting_switching_interval.setObjectName("lineEdit_copywriting_switching_interval")
self.gridLayout_37.addWidget(self.lineEdit_copywriting_switching_interval, 2, 1, 1, 5)
self.pushButton_copywriting_synthetic_audio = QtWidgets.QPushButton(self.widget)
self.pushButton_copywriting_synthetic_audio.setCursor(QtGui.QCursor(QtCore.Qt.PointingHandCursor))
self.pushButton_copywriting_synthetic_audio.setStyleSheet("text-align: center;\n"
"padding: 12px 16px;\n"
"font: 80 10pt \"微软雅黑\";\n"
"border:2px solid #ffffff;\n"
"border-radius: 3px;")
self.pushButton_copywriting_synthetic_audio.setObjectName("pushButton_copywriting_synthetic_audio")
self.gridLayout_37.addWidget(self.pushButton_copywriting_synthetic_audio, 6, 3, 1, 1)
self.pushButton_copywriting_pause_play = QtWidgets.QPushButton(self.widget)
self.pushButton_copywriting_pause_play.setCursor(QtGui.QCursor(QtCore.Qt.PointingHandCursor))
self.pushButton_copywriting_pause_play.setStyleSheet("text-align: center;\n"
"padding: 12px 16px;\n"
"font: 80 10pt \"微软雅黑\";\n"
"border:2px solid #ffffff;\n"
"border-radius: 3px;")
self.pushButton_copywriting_pause_play.setObjectName("pushButton_copywriting_pause_play")
self.gridLayout_37.addWidget(self.pushButton_copywriting_pause_play, 6, 5, 1, 1)
spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.gridLayout_37.addItem(spacerItem1, 6, 1, 1, 1)
self.label_copywriting_audio_interval = QtWidgets.QLabel(self.widget)
self.label_copywriting_audio_interval.setStyleSheet("")
self.label_copywriting_audio_interval.setObjectName("label_copywriting_audio_interval")
self.gridLayout_37.addWidget(self.label_copywriting_audio_interval, 1, 0, 1, 1)
self.label_copywriting_switching_interval = QtWidgets.QLabel(self.widget)
self.label_copywriting_switching_interval.setStyleSheet("")
self.label_copywriting_switching_interval.setObjectName("label_copywriting_switching_interval")
self.gridLayout_37.addWidget(self.label_copywriting_switching_interval, 2, 0, 1, 1)
self.lineEdit_copywriting_audio_interval = QtWidgets.QLineEdit(self.widget)
self.lineEdit_copywriting_audio_interval.setStyleSheet("min-height:40px;")
self.lineEdit_copywriting_audio_interval.setObjectName("lineEdit_copywriting_audio_interval")
self.gridLayout_37.addWidget(self.lineEdit_copywriting_audio_interval, 1, 1, 1, 5)
self.pushButton_copywriting_refresh_list = QtWidgets.QPushButton(self.widget)
self.pushButton_copywriting_refresh_list.setCursor(QtGui.QCursor(QtCore.Qt.PointingHandCursor))
self.pushButton_copywriting_refresh_list.setStyleSheet("text-align: center;\n"
"padding: 12px 16px;\n"
"font: 80 10pt \"微软雅黑\";\n"
"border:2px solid #ffffff;\n"
"border-radius: 3px;")
self.pushButton_copywriting_refresh_list.setObjectName("pushButton_copywriting_refresh_list")
self.gridLayout_37.addWidget(self.pushButton_copywriting_refresh_list, 4, 5, 1, 1)
self.lineEdit_copywriting_select = QtWidgets.QLineEdit(self.widget)
self.lineEdit_copywriting_select.setStyleSheet("min-height:50px;")
self.lineEdit_copywriting_select.setObjectName("lineEdit_copywriting_select")
self.gridLayout_37.addWidget(self.lineEdit_copywriting_select, 4, 1, 1, 3)
self.label_copywriting_switching_random_play = QtWidgets.QLabel(self.widget)
self.label_copywriting_switching_random_play.setStyleSheet("")
self.label_copywriting_switching_random_play.setObjectName("label_copywriting_switching_random_play")
self.gridLayout_37.addWidget(self.label_copywriting_switching_random_play, 3, 0, 1, 1)
self.checkBox_copywriting_switching_random_play = QtWidgets.QCheckBox(self.widget)
self.checkBox_copywriting_switching_random_play.setStyleSheet("min-height:40px;")
self.checkBox_copywriting_switching_random_play.setObjectName("checkBox_copywriting_switching_random_play")
self.gridLayout_37.addWidget(self.checkBox_copywriting_switching_random_play, 3, 1, 1, 1)
self.label_copywriting_edit = QtWidgets.QLabel(self.widget)
self.label_copywriting_edit.setStyleSheet("")
self.label_copywriting_edit.setObjectName("label_copywriting_edit")
self.gridLayout_37.addWidget(self.label_copywriting_edit, 5, 0, 1, 1)
self.pushButton_copywriting_save = QtWidgets.QPushButton(self.widget)
self.pushButton_copywriting_save.setCursor(QtGui.QCursor(QtCore.Qt.PointingHandCursor))
self.pushButton_copywriting_save.setStyleSheet("text-align: center;\n"
"padding: 12px 16px;\n"
"font: 80 10pt \"微软雅黑\";\n"
"border:2px solid #ffffff;\n"
"border-radius: 3px;")
self.pushButton_copywriting_save.setObjectName("pushButton_copywriting_save")
self.gridLayout_37.addWidget(self.pushButton_copywriting_save, 6, 2, 1, 1)
self.pushButton_copywriting_loop_play = QtWidgets.QPushButton(self.widget)
self.pushButton_copywriting_loop_play.setCursor(QtGui.QCursor(QtCore.Qt.PointingHandCursor))
self.pushButton_copywriting_loop_play.setStyleSheet("text-align: center;\n"
"padding: 12px 16px;\n"
"font: 80 10pt \"微软雅黑\";\n"
"border:2px solid #ffffff;\n"
"border-radius: 3px;")
self.pushButton_copywriting_loop_play.setObjectName("pushButton_copywriting_loop_play")
self.gridLayout_37.addWidget(self.pushButton_copywriting_loop_play, 6, 4, 1, 1)
self.scrollArea_copywriting_config = QtWidgets.QScrollArea(self.widget)
self.scrollArea_copywriting_config.setMinimumSize(QtCore.QSize(0, 500))
self.scrollArea_copywriting_config.setMaximumSize(QtCore.QSize(16777215, 16777215))
self.scrollArea_copywriting_config.setWidgetResizable(True)
self.scrollArea_copywriting_config.setObjectName("scrollArea_copywriting_config")
self.scrollAreaWidgetContents_4 = QtWidgets.QWidget()
self.scrollAreaWidgetContents_4.setGeometry(QtCore.QRect(0, 0, 917, 498))
self.scrollAreaWidgetContents_4.setObjectName("scrollAreaWidgetContents_4")
self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.scrollAreaWidgetContents_4)
self.verticalLayout_4.setObjectName("verticalLayout_4")
self.widget_copywriting_config = QtWidgets.QWidget(self.scrollAreaWidgetContents_4)
self.widget_copywriting_config.setObjectName("widget_copywriting_config")
self.gridLayout_25 = QtWidgets.QGridLayout(self.widget_copywriting_config)
self.gridLayout_25.setObjectName("gridLayout_25")
self.pushButton_copywriting_config_index_add = QtWidgets.QPushButton(self.widget_copywriting_config)
self.pushButton_copywriting_config_index_add.setCursor(QtGui.QCursor(QtCore.Qt.PointingHandCursor))
self.pushButton_copywriting_config_index_add.setStyleSheet("text-align: center;\n"
"padding: 12px 16px;\n"
"font: 80 10pt \"微软雅黑\";\n"
"border:2px solid #ffffff;\n"
"border-radius: 3px;")
self.pushButton_copywriting_config_index_add.setObjectName("pushButton_copywriting_config_index_add")
self.gridLayout_25.addWidget(self.pushButton_copywriting_config_index_add, 0, 2, 1, 1)
self.lineEdit_copywriting_config_index = QtWidgets.QLineEdit(self.widget_copywriting_config)
self.lineEdit_copywriting_config_index.setStyleSheet("min-height:40px;")
self.lineEdit_copywriting_config_index.setObjectName("lineEdit_copywriting_config_index")
self.gridLayout_25.addWidget(self.lineEdit_copywriting_config_index, 0, 1, 1, 1)
self.label_copywriting_config_index = QtWidgets.QLabel(self.widget_copywriting_config)
self.label_copywriting_config_index.setObjectName("label_copywriting_config_index")
self.gridLayout_25.addWidget(self.label_copywriting_config_index, 0, 0, 1, 1)
self.pushButton_copywriting_config_index_del = QtWidgets.QPushButton(self.widget_copywriting_config)
self.pushButton_copywriting_config_index_del.setCursor(QtGui.QCursor(QtCore.Qt.PointingHandCursor))
self.pushButton_copywriting_config_index_del.setStyleSheet("text-align: center;\n"
"padding: 12px 16px;\n"
"font: 80 10pt \"微软雅黑\";\n"
"border:2px solid #ffffff;\n"
"border-radius: 3px;")
self.pushButton_copywriting_config_index_del.setObjectName("pushButton_copywriting_config_index_del")
self.gridLayout_25.addWidget(self.pushButton_copywriting_config_index_del, 0, 3, 1, 1)
self.gridLayout_copywriting_config = QtWidgets.QGridLayout()
self.gridLayout_copywriting_config.setObjectName("gridLayout_copywriting_config")
self.gridLayout_25.addLayout(self.gridLayout_copywriting_config, 1, 0, 1, 4)
self.gridLayout_25.setColumnStretch(0, 1)
self.gridLayout_25.setColumnStretch(1, 5)
self.gridLayout_25.setColumnStretch(2, 1)
self.gridLayout_25.setColumnStretch(3, 1)
self.verticalLayout_4.addWidget(self.widget_copywriting_config)
self.scrollArea_copywriting_config.setWidget(self.scrollAreaWidgetContents_4)
self.gridLayout_37.addWidget(self.scrollArea_copywriting_config, 0, 0, 1, 6)
self.gridLayout_37.setColumnStretch(0, 1)
self.gridLayout_37.setColumnStretch(1, 3)
self.gridLayout_37.setColumnStretch(2, 1)
self.gridLayout_37.setColumnStretch(3, 1)
self.gridLayout_37.setColumnStretch(4, 1)
self.gridLayout_37.setColumnStretch(5, 1)
self.verticalLayout_2.addWidget(self.widget)
self.scrollArea_2.setWidget(self.scrollAreaWidgetContents_2)
self.gridLayout_38.addWidget(self.scrollArea_2, 0, 0, 1, 1)
self.stackedWidget.addWidget(self.page_3)
self.page_4 = QtWidgets.QWidget()
self.page_4.setObjectName("page_4")
self.gridLayout_39 = QtWidgets.QGridLayout(self.page_4)
self.gridLayout_39.setObjectName("gridLayout_39")
self.scrollArea_3 = QtWidgets.QScrollArea(self.page_4)
self.scrollArea_3.setStyleSheet("font: 75 14pt \"微软雅黑\";\n"
"")
self.scrollArea_3.setWidgetResizable(True)
self.scrollArea_3.setObjectName("scrollArea_3")
self.scrollAreaWidgetContents_3 = QtWidgets.QWidget()
self.scrollAreaWidgetContents_3.setGeometry(QtCore.QRect(0, 0, 963, 911))
self.scrollAreaWidgetContents_3.setObjectName("scrollAreaWidgetContents_3")
self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.scrollAreaWidgetContents_3)
self.verticalLayout_3.setObjectName("verticalLayout_3")
self.widget_2 = QtWidgets.QWidget(self.scrollAreaWidgetContents_3)
self.widget_2.setObjectName("widget_2")
self.gridLayout_40 = QtWidgets.QGridLayout(self.widget_2)
self.gridLayout_40.setObjectName("gridLayout_40")
self.groupBox_talk_google = QtWidgets.QGroupBox(self.widget_2)
self.groupBox_talk_google.setObjectName("groupBox_talk_google")
self.gridLayout_41 = QtWidgets.QGridLayout(self.groupBox_talk_google)
self.gridLayout_41.setObjectName("gridLayout_41")
self.comboBox_talk_google_tgt_lang = QtWidgets.QComboBox(self.groupBox_talk_google)
self.comboBox_talk_google_tgt_lang.setObjectName("comboBox_talk_google_tgt_lang")
self.gridLayout_41.addWidget(self.comboBox_talk_google_tgt_lang, 1, 1, 1, 1)
self.label_talk_google_tgt_lang = QtWidgets.QLabel(self.groupBox_talk_google)
self.label_talk_google_tgt_lang.setObjectName("label_talk_google_tgt_lang")
self.gridLayout_41.addWidget(self.label_talk_google_tgt_lang, 1, 0, 1, 1)
self.gridLayout_41.setColumnStretch(0, 1)
self.gridLayout_41.setColumnStretch(1, 8)
self.gridLayout_40.addWidget(self.groupBox_talk_google, 8, 0, 1, 5)
self.label_talk_type = QtWidgets.QLabel(self.widget_2)
self.label_talk_type.setObjectName("label_talk_type")
self.gridLayout_40.addWidget(self.label_talk_type, 4, 0, 1, 1)
self.label_talk_volume_threshold = QtWidgets.QLabel(self.widget_2)
self.label_talk_volume_threshold.setObjectName("label_talk_volume_threshold")
self.gridLayout_40.addWidget(self.label_talk_volume_threshold, 5, 0, 1, 1)
self.label_talk_username = QtWidgets.QLabel(self.widget_2)
self.label_talk_username.setObjectName("label_talk_username")
self.gridLayout_40.addWidget(self.label_talk_username, 0, 0, 1, 1)
self.label_talk_continuous_talk = QtWidgets.QLabel(self.widget_2)
self.label_talk_continuous_talk.setObjectName("label_talk_continuous_talk")
self.gridLayout_40.addWidget(self.label_talk_continuous_talk, 1, 0, 1, 1)
self.lineEdit_talk_volume_threshold = QtWidgets.QLineEdit(self.widget_2)
self.lineEdit_talk_volume_threshold.setObjectName("lineEdit_talk_volume_threshold")
self.gridLayout_40.addWidget(self.lineEdit_talk_volume_threshold, 5, 1, 1, 4)
self.label_talk_trigger_key = QtWidgets.QLabel(self.widget_2)
self.label_talk_trigger_key.setObjectName("label_talk_trigger_key")
self.gridLayout_40.addWidget(self.label_talk_trigger_key, 2, 0, 1, 1)
self.groupBox_talk_baidu = QtWidgets.QGroupBox(self.widget_2)
self.groupBox_talk_baidu.setObjectName("groupBox_talk_baidu")
self.gridLayout_45 = QtWidgets.QGridLayout(self.groupBox_talk_baidu)
self.gridLayout_45.setObjectName("gridLayout_45")
self.lineEdit_talk_baidu_app_id = QtWidgets.QLineEdit(self.groupBox_talk_baidu)
self.lineEdit_talk_baidu_app_id.setObjectName("lineEdit_talk_baidu_app_id")
self.gridLayout_45.addWidget(self.lineEdit_talk_baidu_app_id, 0, 1, 1, 1)
self.label_talk_baidu_app_id = QtWidgets.QLabel(self.groupBox_talk_baidu)
self.label_talk_baidu_app_id.setObjectName("label_talk_baidu_app_id")
self.gridLayout_45.addWidget(self.label_talk_baidu_app_id, 0, 0, 1, 1)
self.lineEdit_talk_baidu_api_key = QtWidgets.QLineEdit(self.groupBox_talk_baidu)
self.lineEdit_talk_baidu_api_key.setObjectName("lineEdit_talk_baidu_api_key")
self.gridLayout_45.addWidget(self.lineEdit_talk_baidu_api_key, 1, 1, 1, 1)
self.label_talk_baidu_api_key = QtWidgets.QLabel(self.groupBox_talk_baidu)
self.label_talk_baidu_api_key.setObjectName("label_talk_baidu_api_key")
self.gridLayout_45.addWidget(self.label_talk_baidu_api_key, 1, 0, 1, 1)
self.label_talk_baidu_secret_key = QtWidgets.QLabel(self.groupBox_talk_baidu)
self.label_talk_baidu_secret_key.setObjectName("label_talk_baidu_secret_key")
self.gridLayout_45.addWidget(self.label_talk_baidu_secret_key, 2, 0, 1, 1)
self.lineEdit_talk_baidu_secret_key = QtWidgets.QLineEdit(self.groupBox_talk_baidu)
self.lineEdit_talk_baidu_secret_key.setObjectName("lineEdit_talk_baidu_secret_key")
self.gridLayout_45.addWidget(self.lineEdit_talk_baidu_secret_key, 2, 1, 1, 1)
self.gridLayout_40.addWidget(self.groupBox_talk_baidu, 7, 0, 1, 5)
self.comboBox_talk_type = QtWidgets.QComboBox(self.widget_2)
self.comboBox_talk_type.setObjectName("comboBox_talk_type")
self.gridLayout_40.addWidget(self.comboBox_talk_type, 4, 1, 1, 4)
self.textBrowser_talk_log = QtWidgets.QTextBrowser(self.widget_2)
self.textBrowser_talk_log.setStyleSheet("font: 12pt \"仿宋\";\n"
"min-height:200px;\n"
"")
self.textBrowser_talk_log.setObjectName("textBrowser_talk_log")
self.gridLayout_40.addWidget(self.textBrowser_talk_log, 10, 0, 2, 5)
self.lineEdit_talk_username = QtWidgets.QLineEdit(self.widget_2)
self.lineEdit_talk_username.setObjectName("lineEdit_talk_username")
self.gridLayout_40.addWidget(self.lineEdit_talk_username, 0, 1, 1, 4)
self.textEdit_talk_chat_box = QtWidgets.QTextEdit(self.widget_2)
self.textEdit_talk_chat_box.setObjectName("textEdit_talk_chat_box")
self.gridLayout_40.addWidget(self.textEdit_talk_chat_box, 9, 1, 1, 1)
self.label_talk_chat_box = QtWidgets.QLabel(self.widget_2)
self.label_talk_chat_box.setObjectName("label_talk_chat_box")
self.gridLayout_40.addWidget(self.label_talk_chat_box, 9, 0, 1, 1)
self.checkBox_talk_continuous_talk = QtWidgets.QCheckBox(self.widget_2)
self.checkBox_talk_continuous_talk.setObjectName("checkBox_talk_continuous_talk")
self.gridLayout_40.addWidget(self.checkBox_talk_continuous_talk, 1, 1, 1, 4)
self.comboBox_talk_stop_trigger_key = QtWidgets.QComboBox(self.widget_2)
self.comboBox_talk_stop_trigger_key.setObjectName("comboBox_talk_stop_trigger_key")
self.gridLayout_40.addWidget(self.comboBox_talk_stop_trigger_key, 3, 1, 1, 4)
self.comboBox_talk_trigger_key = QtWidgets.QComboBox(self.widget_2)
self.comboBox_talk_trigger_key.setObjectName("comboBox_talk_trigger_key")
self.gridLayout_40.addWidget(self.comboBox_talk_trigger_key, 2, 1, 1, 4)
self.lineEdit_talk_silence_threshold = QtWidgets.QLineEdit(self.widget_2)
self.lineEdit_talk_silence_threshold.setObjectName("lineEdit_talk_silence_threshold")
self.gridLayout_40.addWidget(self.lineEdit_talk_silence_threshold, 6, 1, 1, 4)
self.label_talk_stop_trigger_key = QtWidgets.QLabel(self.widget_2)
self.label_talk_stop_trigger_key.setObjectName("label_talk_stop_trigger_key")
self.gridLayout_40.addWidget(self.label_talk_stop_trigger_key, 3, 0, 1, 1)
self.label_talk_silence_threshold = QtWidgets.QLabel(self.widget_2)
self.label_talk_silence_threshold.setObjectName("label_talk_silence_threshold")
self.gridLayout_40.addWidget(self.label_talk_silence_threshold, 6, 0, 1, 1)
self.pushButton_talk_chat_box_reread = QtWidgets.QPushButton(self.widget_2)
self.pushButton_talk_chat_box_reread.setCursor(QtGui.QCursor(QtCore.Qt.PointingHandCursor))
self.pushButton_talk_chat_box_reread.setStyleSheet("text-align: center;\n"
"padding: 12px 16px;\n"
"font: 80 10pt \"微软雅黑\";\n"
"border:2px solid #ffffff;\n"
"border-radius: 3px;")
self.pushButton_talk_chat_box_reread.setObjectName("pushButton_talk_chat_box_reread")
self.gridLayout_40.addWidget(self.pushButton_talk_chat_box_reread, 9, 3, 1, 1)
self.pushButton_talk_chat_box_send = QtWidgets.QPushButton(self.widget_2)
self.pushButton_talk_chat_box_send.setCursor(QtGui.QCursor(QtCore.Qt.PointingHandCursor))
self.pushButton_talk_chat_box_send.setStyleSheet("text-align: center;\n"
"padding: 12px 16px;\n"
"font: 80 10pt \"微软雅黑\";\n"
"border:2px solid #ffffff;\n"
"border-radius: 3px;")
self.pushButton_talk_chat_box_send.setObjectName("pushButton_talk_chat_box_send")
self.gridLayout_40.addWidget(self.pushButton_talk_chat_box_send, 9, 2, 1, 1)
self.gridLayout_40.setRowMinimumHeight(0, 1)
self.gridLayout_40.setRowMinimumHeight(1, 1)
self.gridLayout_40.setRowMinimumHeight(2, 1)
self.gridLayout_40.setRowMinimumHeight(3, 1)
self.gridLayout_40.setRowMinimumHeight(4, 1)
self.gridLayout_40.setRowMinimumHeight(5, 1)
self.gridLayout_40.setRowMinimumHeight(6, 1)
self.gridLayout_40.setRowMinimumHeight(7, 1)
self.gridLayout_40.setRowMinimumHeight(8, 1)
self.gridLayout_40.setRowMinimumHeight(9, 1)
self.gridLayout_40.setRowMinimumHeight(10, 1)
self.gridLayout_40.setColumnStretch(0, 1)
self.gridLayout_40.setColumnStretch(1, 8)
self.gridLayout_40.setColumnStretch(2, 1)
self.gridLayout_40.setRowStretch(0, 1)
self.gridLayout_40.setRowStretch(1, 1)
self.gridLayout_40.setRowStretch(2, 1)
self.gridLayout_40.setRowStretch(3, 1)
self.gridLayout_40.setRowStretch(4, 1)
self.gridLayout_40.setRowStretch(5, 1)
self.gridLayout_40.setRowStretch(6, 1)
self.gridLayout_40.setRowStretch(7, 1)
self.gridLayout_40.setRowStretch(8, 1)
self.gridLayout_40.setRowStretch(9, 1)
self.gridLayout_40.setRowStretch(10, 5)
self.verticalLayout_3.addWidget(self.widget_2)
self.scrollArea_3.setWidget(self.scrollAreaWidgetContents_3)
self.gridLayout_39.addWidget(self.scrollArea_3, 0, 0, 1, 1)
self.stackedWidget.addWidget(self.page_4)
self.gridLayout_20.addWidget(self.stackedWidget, 0, 0, 10, 1)
self.pushButton_factory = QtWidgets.QPushButton(self.centralwidget)
self.pushButton_factory.setCursor(QtGui.QCursor(QtCore.Qt.PointingHandCursor))
self.pushButton_factory.setStyleSheet("border: 1px solid #dcdfe6;\n"
"background-color: #f56c6c;\n"
"text-align: center;\n"
"padding: 12px 16px;\n"
"border-radius: 4px;\n"
"font: 75 12pt \"微软雅黑\";")
self.pushButton_factory.setObjectName("pushButton_factory")
self.gridLayout_20.addWidget(self.pushButton_factory, 8, 1, 1, 1)
self.pushButton_talk_page = QtWidgets.QPushButton(self.centralwidget)
self.pushButton_talk_page.setCursor(QtGui.QCursor(QtCore.Qt.PointingHandCursor))
self.pushButton_talk_page.setStyleSheet("border: 1px solid #dcdfe6;\n"
"background-color: #e6a23c;\n"
"text-align: center;\n"
"padding: 12px 16px;\n"
"border-radius: 4px;\n"
"font: 75 12pt \"微软雅黑\";")
self.pushButton_talk_page.setObjectName("pushButton_talk_page")
self.gridLayout_20.addWidget(self.pushButton_talk_page, 6, 1, 1, 1)
MainWindow.setCentralWidget(self.centralwidget)
self.menubar = QtWidgets.QMenuBar(MainWindow)
self.menubar.setGeometry(QtCore.QRect(0, 0, 1191, 26))
self.menubar.setObjectName("menubar")
self.menu_about = QtWidgets.QMenu(self.menubar)
self.menu_about.setObjectName("menu_about")
self.menu = QtWidgets.QMenu(self.menubar)
self.menu.setObjectName("menu")
MainWindow.setMenuBar(self.menubar)
self.statusbar = QtWidgets.QStatusBar(MainWindow)
self.statusbar.setObjectName("statusbar")
MainWindow.setStatusBar(self.statusbar)
self.action_official_store = QtWidgets.QAction(MainWindow)
self.action_official_store.setObjectName("action_official_store")
self.action_video_tutorials = QtWidgets.QAction(MainWindow)
self.action_video_tutorials.setObjectName("action_video_tutorials")
self.action_exit = QtWidgets.QAction(MainWindow)
self.action_exit.setObjectName("action_exit")
self.action_online_doc = QtWidgets.QAction(MainWindow)
self.action_online_doc.setObjectName("action_online_doc")
self.menu_about.addAction(self.action_official_store)
self.menu_about.addAction(self.action_video_tutorials)
self.menu_about.addAction(self.action_online_doc)
self.menu.addAction(self.action_exit)
self.menubar.addAction(self.menu.menuAction())
self.menubar.addAction(self.menu_about.menuAction())
self.retranslateUi(MainWindow)
self.stackedWidget.setCurrentIndex(0)
QtCore.QMetaObject.connectSlotsByName(MainWindow)
def retranslateUi(self, MainWindow):
_translate = QtCore.QCoreApplication.translate
MainWindow.setWindowTitle(_translate("MainWindow", "AI Vtuber"))
self.pushButton_run_page.setText(_translate("MainWindow", "②运行页"))
self.pushButton_copywriting_page.setText(_translate("MainWindow", "③文案页"))
self.pushButton_run.setText(_translate("MainWindow", "运行"))
self.pushButton_config_page.setText(_translate("MainWindow", "①配置页"))
self.pushButton_save.setText(_translate("MainWindow", "保存配置"))
self.label_chat_type.setText(_translate("MainWindow", "聊天类型"))
self.label_platform.setText(_translate("MainWindow", "平台"))
self.label_need_lang.setText(_translate("MainWindow", "回复语言"))
self.groupBox_read_user_name.setTitle(_translate("MainWindow", "念用户名"))
self.label_read_user_name_reply_before.setText(_translate("MainWindow", "前置回复"))
self.label_read_user_name_enable.setText(_translate("MainWindow", "启用"))
self.checkBox_read_user_name_enable.setText(_translate("MainWindow", "是"))
self.label_read_user_name_voice_change.setText(_translate("MainWindow", "启用变声"))
self.checkBox_read_user_name_voice_change.setText(_translate("MainWindow", "是"))
self.label_read_user_name_reply_after.setText(_translate("MainWindow", "后置回复"))
self.groupBox_show_box.setTitle(_translate("MainWindow", "自定义显示板块"))
self.groupBox_claude2.setTitle(_translate("MainWindow", "Claude2"))
self.label_claude2_proxies_https.setText(_translate("MainWindow", "https代理地址"))
self.label_claude2_proxies_socks5.setText(_translate("MainWindow", "socks5代理地址"))
self.checkBox_claude2_use_proxy.setText(_translate("MainWindow", "启用"))
self.label_claude2_cookie.setText(_translate("MainWindow", "cookie"))
self.label_claude2_use_proxy.setText(_translate("MainWindow", "启用代理"))
self.label_claude2_proxies_http.setText(_translate("MainWindow", "http代理地址"))
self.groupBox_chatgpt.setTitle(_translate("MainWindow", "chatgpt"))
self.label_chatgpt_model.setText(_translate("MainWindow", "模型"))
self.label_chatgpt_max_tokens.setText(_translate("MainWindow", "最大令牌数"))
self.label_chatgpt_temperature.setText(_translate("MainWindow", "温度"))
self.label_chatgpt_top_p.setText(_translate("MainWindow", "前p个选择"))
self.label_chatgpt_frequency_penalty.setText(_translate("MainWindow", "频率惩罚"))
self.label_chatgpt_presence_penalty.setText(_translate("MainWindow", "存在惩罚"))
self.label_chatgpt_preset.setText(_translate("MainWindow", "预设"))
self.comboBox_chatgpt_model.setItemText(0, _translate("MainWindow", "gpt-3.5-turbo"))
self.comboBox_chatgpt_model.setItemText(1, _translate("MainWindow", "gpt-3.5-turbo-0301"))
self.comboBox_chatgpt_model.setItemText(2, _translate("MainWindow", "gpt-3.5-turbo-0613"))
self.comboBox_chatgpt_model.setItemText(3, _translate("MainWindow", "gpt-3.5-turbo-16k"))
self.comboBox_chatgpt_model.setItemText(4, _translate("MainWindow", "gpt-3.5-turbo-16k-0613"))
self.comboBox_chatgpt_model.setItemText(5, _translate("MainWindow", "gpt-4"))
self.comboBox_chatgpt_model.setItemText(6, _translate("MainWindow", "gpt-4-0314"))
self.comboBox_chatgpt_model.setItemText(7, _translate("MainWindow", "gpt-4-0613"))
self.comboBox_chatgpt_model.setItemText(8, _translate("MainWindow", "gpt-4-32k"))
self.comboBox_chatgpt_model.setItemText(9, _translate("MainWindow", "gpt-4-32k-0314"))
self.comboBox_chatgpt_model.setItemText(10, _translate("MainWindow", "gpt-4-32k-0613"))
self.comboBox_chatgpt_model.setItemText(11, _translate("MainWindow", "text-embedding-ada-002"))
self.comboBox_chatgpt_model.setItemText(12, _translate("MainWindow", "text-davinci-003"))
self.comboBox_chatgpt_model.setItemText(13, _translate("MainWindow", "text-davinci-002"))
self.comboBox_chatgpt_model.setItemText(14, _translate("MainWindow", "text-curie-001"))
self.comboBox_chatgpt_model.setItemText(15, _translate("MainWindow", "text-babbage-001"))
self.comboBox_chatgpt_model.setItemText(16, _translate("MainWindow", "text-ada-001"))
self.comboBox_chatgpt_model.setItemText(17, _translate("MainWindow", "text-moderation-latest"))
self.comboBox_chatgpt_model.setItemText(18, _translate("MainWindow", "text-moderation-stable"))
self.groupBox_chatglm.setTitle(_translate("MainWindow", "ChatGLM"))
self.label_chatglm_api_ip_port.setText(_translate("MainWindow", "api地址"))
self.label_chatglm_history_max_len.setText(_translate("MainWindow", "最大记忆长度"))
self.label_chatglm_top_p.setText(_translate("MainWindow", "前p个选择"))
self.label_chatglm_temperature.setText(_translate("MainWindow", "温度"))
self.label_chatglm_max_length.setText(_translate("MainWindow", "最大长度限制"))
self.label_chatglm_history_enable.setText(_translate("MainWindow", "上下文记忆"))
self.checkBox_chatglm_history_enable.setText(_translate("MainWindow", "启用"))
self.label_after_prompt.setText(_translate("MainWindow", "提示词后缀"))
self.label_room_display_id.setText(_translate("MainWindow", "直播间号"))
self.groupBox_openai.setTitle(_translate("MainWindow", "openai"))
self.label_openai_api.setText(_translate("MainWindow", "API"))
self.label_openai_api_key.setText(_translate("MainWindow", "API KEY"))
self.groupBox_log.setTitle(_translate("MainWindow", "日志"))
self.comboBox_comment_log_type.setItemText(0, _translate("MainWindow", "问答"))
self.comboBox_comment_log_type.setItemText(1, _translate("MainWindow", "问题"))
self.comboBox_comment_log_type.setItemText(2, _translate("MainWindow", "回答"))
self.comboBox_comment_log_type.setItemText(3, _translate("MainWindow", "不记录"))
self.label_comment_log_type.setText(_translate("MainWindow", "弹幕日志类型"))
self.label_captions_file_path.setText(_translate("MainWindow", "字幕日志路径"))
self.label_captions_enable.setText(_translate("MainWindow", "字幕日志"))
self.checkBox_captions_enable.setText(_translate("MainWindow", "启用"))
self.groupBox_claude.setTitle(_translate("MainWindow", "Claude"))
self.label_claude_slack_user_token.setText(_translate("MainWindow", "slack_user_token"))
self.label_claude_bot_user_id.setText(_translate("MainWindow", "bot_user_id"))
self.comboBox_need_lang.setItemText(0, _translate("MainWindow", "所有"))
self.comboBox_need_lang.setItemText(1, _translate("MainWindow", "中文"))
self.comboBox_need_lang.setItemText(2, _translate("MainWindow", "英文"))
self.comboBox_need_lang.setItemText(3, _translate("MainWindow", "日文"))
self.comboBox_chat_type.setItemText(0, _translate("MainWindow", "不启用"))
self.comboBox_chat_type.setItemText(1, _translate("MainWindow", "复读机"))
self.comboBox_chat_type.setItemText(2, _translate("MainWindow", "ChatGPT"))
self.comboBox_chat_type.setItemText(3, _translate("MainWindow", "Claude"))
self.comboBox_chat_type.setItemText(4, _translate("MainWindow", "ChatGLM"))
self.comboBox_chat_type.setItemText(5, _translate("MainWindow", "chat_with_file"))
self.comboBox_chat_type.setItemText(6, _translate("MainWindow", "Chatterbot"))
self.comboBox_chat_type.setItemText(7, _translate("MainWindow", "text-generation-webui"))
self.comboBox_chat_type.setItemText(8, _translate("MainWindow", "讯飞星火"))
self.comboBox_chat_type.setItemText(9, _translate("MainWindow", "Langchain_ChatGLM"))
self.label_audio_synthesis_type.setText(_translate("MainWindow", "语音合成"))
self.groupBox_local_qa.setTitle(_translate("MainWindow", "本地问答"))
self.label_local_qa_audio_enable.setText(_translate("MainWindow", "音频匹配"))
self.label_local_qa_text_enable.setText(_translate("MainWindow", "文本匹配"))
self.checkBox_local_qa_text_enable.setText(_translate("MainWindow", "启用"))
self.label_local_qa_audio_similarity.setText(_translate("MainWindow", "音频最低相似度"))
self.checkBox_local_qa_audio_enable.setText(_translate("MainWindow", "启用"))
self.label_local_qa_text_similarity.setText(_translate("MainWindow", "文本最低相似度"))
self.label_local_qa_audio_file_path.setText(_translate("MainWindow", "音频存储路径"))
self.label_local_qa_text_file_path.setText(_translate("MainWindow", "文本问答数据路径"))
self.label_local_qa_text_type.setText(_translate("MainWindow", "文本问答算法类型"))
self.comboBox_local_qa_text_type.setItemText(0, _translate("MainWindow", "自定义json"))
self.comboBox_local_qa_text_type.setItemText(1, _translate("MainWindow", "一问一答"))
self.groupBox_thanks.setTitle(_translate("MainWindow", "答谢"))
self.label_thanks_entrance_copy.setText(_translate("MainWindow", "入场文案"))
self.label_thanks_gift_copy.setText(_translate("MainWindow", "礼物文案"))
self.label_thanks_lowest_price.setText(_translate("MainWindow", "最低答谢价格"))
self.checkBox_thanks_entrance_enable.setText(_translate("MainWindow", "启用"))
self.label_thanks_entrance_enable.setText(_translate("MainWindow", "入场欢迎"))
self.label_thanks_gift_enable.setText(_translate("MainWindow", "礼物答谢"))
self.checkBox_thanks_gift_enable.setText(_translate("MainWindow", "启用"))
self.groupBox_filter.setTitle(_translate("MainWindow", "过滤"))
self.label_filter_schedule_forget_duration.setText(_translate("MainWindow", "定时遗忘间隔"))
self.label_filter_talk_forget_duration.setText(_translate("MainWindow", "聊天遗忘间隔"))
self.label_filter_entrance_forget_reserve_num.setText(_translate("MainWindow", "入场保留数"))
self.label_filter_badwords_path.setText(_translate("MainWindow", "违禁词路径"))
self.label_filter_comment_forget_duration.setText(_translate("MainWindow", "弹幕遗忘间隔"))
self.label_filter_max_len.setText(_translate("MainWindow", "最大单词数"))
self.label_filter_schedule_forget_reserve_num.setText(_translate("MainWindow", "定时保留数"))
self.label_filter_max_char_len.setText(_translate("MainWindow", "最大字符数"))
self.label_filter_talk_forget_reserve_num.setText(_translate("MainWindow", "聊天保留数"))
self.label_filter_before_must_str.setText(_translate("MainWindow", "弹幕前缀"))
self.label_filter_bad_pinyin_path.setText(_translate("MainWindow", "违禁拼音路径"))
self.label_filter_entrance_forget_duration.setText(_translate("MainWindow", "入场遗忘间隔"))
self.label_filter_gift_forget_reserve_num.setText(_translate("MainWindow", "礼物保留数"))
self.label_filter_after_must_str.setText(_translate("MainWindow", "弹幕后缀"))
self.label_filter_gift_forget_duration.setText(_translate("MainWindow", "礼物遗忘间隔"))
self.label_filter_comment_forget_reserve_num.setText(_translate("MainWindow", "弹幕保留数"))
self.groupBox_audio_random_speed.setTitle(_translate("MainWindow", "音频随机变速"))
self.label_audio_random_speed_normal_enable.setText(_translate("MainWindow", "普通音频变速"))
self.label_audio_random_speed_normal_speed_min.setText(_translate("MainWindow", "速度下限"))
self.label_audio_random_speed_normal_speed_max.setText(_translate("MainWindow", "速度上限"))
self.checkBox_audio_random_speed_normal_enable.setText(_translate("MainWindow", "启用"))
self.label_audio_random_speed_copywriting_enable.setText(_translate("MainWindow", "文案音频变速"))
self.checkBox_audio_random_speed_copywriting_enable.setText(_translate("MainWindow", "启用"))
self.label_audio_random_speed_copywriting_speed_min.setText(_translate("MainWindow", "速度下限"))
self.label_audio_random_speed_copywriting_speed_max.setText(_translate("MainWindow", "速度上限"))
self.label_before_prompt.setText(_translate("MainWindow", "提示词前缀"))
self.groupBox_play_audio.setTitle(_translate("MainWindow", "音频播放"))
self.groupBox_langchain_chatglm.setTitle(_translate("MainWindow", "Langchain_ChatGLM"))
self.label_langchain_chatglm_api_ip_port.setText(_translate("MainWindow", "api地址"))
self.label_langchain_chatglm_chat_type.setText(_translate("MainWindow", "聊天类型"))
self.label_langchain_chatglm_history_enable.setText(_translate("MainWindow", "上下文记忆"))
self.checkBox_langchain_chatglm_history_enable.setText(_translate("MainWindow", "启用"))
self.label_langchain_chatglm_knowledge_base_id.setText(_translate("MainWindow", "知识库名称"))
self.label_langchain_chatglm_history_max_len.setText(_translate("MainWindow", "最大记忆长度"))
self.groupBox_chat_with_file.setTitle(_translate("MainWindow", "chat_with_file"))
self.label_chat_with_file_chain_type.setText(_translate("MainWindow", "链类型"))
self.label_chat_with_file_data_path.setText(_translate("MainWindow", "pdf文件路径"))
self.label_chat_with_file_local_vector_embedding_model.setText(_translate("MainWindow", "模型"))
self.label_chat_with_file_show_token_cost.setText(_translate("MainWindow", "显示成本"))
self.checkBox_chat_with_file_show_token_cost.setText(_translate("MainWindow", "启用"))
self.label_chat_with_file_chunk_size.setText(_translate("MainWindow", "块大小"))
self.label_chat_with_file_chunk_overlap.setText(_translate("MainWindow", "块重叠"))
self.label_chat_with_file_question_prompt.setText(_translate("MainWindow", "问题总结提示词"))
self.label_chat_with_file_separator.setText(_translate("MainWindow", "分隔符"))
self.label_chat_with_file_chat_mode.setText(_translate("MainWindow", "聊天模式"))
self.label_chat_with_file_local_max_query.setText(_translate("MainWindow", "最大查询数据库次数"))
self.comboBox_chat_with_file_chat_mode.setItemText(0, _translate("MainWindow", "claude"))
self.comboBox_chat_with_file_chat_mode.setItemText(1, _translate("MainWindow", "openai_gpt"))
self.comboBox_chat_with_file_chat_mode.setItemText(2, _translate("MainWindow", "openai_vector_search"))
self.comboBox_chat_with_file_local_vector_embedding_model.setItemText(0, _translate("MainWindow", "sebastian-hofstaetter/distilbert-dot-tas_b-b256-msmarco"))
self.comboBox_chat_with_file_local_vector_embedding_model.setItemText(1, _translate("MainWindow", "GanymedeNil/text2vec-large-chinese"))
self.groupBox_text_generation_webui.setTitle(_translate("MainWindow", "text-generation-webui"))
self.label_text_generation_webui_max_new_tokens.setText(_translate("MainWindow", "max_new_tokens"))
self.label_text_generation_webui_character.setText(_translate("MainWindow", "角色"))
self.label_text_generation_webui_api_ip_port.setText(_translate("MainWindow", "api地址"))
self.label_text_generation_webui_instruction_template.setText(_translate("MainWindow", "instruction_template"))
self.label_text_generation_webui_mode.setText(_translate("MainWindow", "模式"))
self.label_text_generation_webui_your_name.setText(_translate("MainWindow", "你的名字"))
self.groupBox_sparkdesk.setTitle(_translate("MainWindow", "讯飞星火"))
self.label_sparkdesk_GtToken.setText(_translate("MainWindow", "GtToken"))
self.label_sparkdesk_app_id.setText(_translate("MainWindow", "app_id"))
self.label_sparkdesk_api_secret.setText(_translate("MainWindow", "api_secret"))
self.label_sparkdesk_cookie.setText(_translate("MainWindow", "cookie"))
self.label_sparkdesk_fd.setText(_translate("MainWindow", "fd"))
self.label_sparkdesk_type.setText(_translate("MainWindow", "类型"))
self.label_sparkdesk_api_key.setText(_translate("MainWindow", "api_key"))
self.groupBox_chatterbot.setTitle(_translate("MainWindow", "Chatterbot"))
self.label_chatterbot_name.setText(_translate("MainWindow", "bot名称"))
self.label_chatterbot_db_path.setText(_translate("MainWindow", "数据库路径"))
self.groupBox_edge_tts.setTitle(_translate("MainWindow", "Edge-TTS"))
self.label_edge_tts_rate.setText(_translate("MainWindow", "语速增益"))
self.label_edge_tts_voice.setText(_translate("MainWindow", "说话人"))
self.label_edge_tts_volume.setText(_translate("MainWindow", "音量增益"))
self.groupBox_vits.setTitle(_translate("MainWindow", "VITS"))
self.groupBox_vits_fast.setTitle(_translate("MainWindow", "VITS-Fast"))
self.label_vits_fast_config_path.setText(_translate("MainWindow", "配置文件路径"))
self.label_vits_fast_character.setText(_translate("MainWindow", "说话人"))
self.label_vits_fast_api_ip_port.setText(_translate("MainWindow", "API地址"))
self.label_vits_fast_speed.setText(_translate("MainWindow", "语速"))
self.groupBox_genshinvoice_top.setTitle(_translate("MainWindow", "genshinvoice_top"))
self.label_genshinvoice_top_format.setText(_translate("MainWindow", "格式"))
self.label_genshinvoice_top_speaker.setText(_translate("MainWindow", "角色"))
self.label_genshinvoice_top_noisew.setText(_translate("MainWindow", "音素长度"))
self.label_genshinvoice_top_noise.setText(_translate("MainWindow", "感情"))
self.label_genshinvoice_top_length.setText(_translate("MainWindow", "语速"))
self.groupBox_elevenlabs.setTitle(_translate("MainWindow", "elevenlabs"))
self.label_elevenlabs_voice.setText(_translate("MainWindow", "说话人"))
self.label_elevenlabs_api_key.setText(_translate("MainWindow", "api密钥"))
self.label_elevenlabs_model.setText(_translate("MainWindow", "模型"))
self.groupBox_bark_gui.setTitle(_translate("MainWindow", "bark-gui"))
self.label_bark_gui_api_ip_port.setText(_translate("MainWindow", "API地址"))
self.label_bark_gui_quick_generation.setText(_translate("MainWindow", "快速生成"))
self.label_bark_gui_batch_count.setText(_translate("MainWindow", "批量数"))
self.label_bark_gui_end_of_sentence_probability.setText(_translate("MainWindow", "句末概率"))
self.label_bark_gui_seed.setText(_translate("MainWindow", "随机种子"))
self.label_bark_gui_generation_temperature.setText(_translate("MainWindow", "生成温度"))
self.label_bark_gui_waveform_temperature.setText(_translate("MainWindow", "波形温度"))
self.label_bark_gui_spk.setText(_translate("MainWindow", "说话人"))
self.checkBox_bark_gui_quick_generation.setText(_translate("MainWindow", "启用"))
self.groupBox_live2d.setTitle(_translate("MainWindow", "Live2D"))
self.checkBox_live2d_enable.setText(_translate("MainWindow", "是"))
self.label_live2d_port.setText(_translate("MainWindow", "端口"))
self.label_live2d_enable.setText(_translate("MainWindow", "启用"))
self.label_live2d_name.setText(_translate("MainWindow", "模型名"))
self.groupBox_choose_song.setTitle(_translate("MainWindow", "点歌模式"))
self.label_choose_song_stop_cmd.setText(_translate("MainWindow", "取消点歌命令"))
self.label_choose_song_song_path.setText(_translate("MainWindow", "歌曲路径"))
self.checkBox_choose_song_enable.setText(_translate("MainWindow", "是"))
self.label_choose_song_start_cmd.setText(_translate("MainWindow", "点歌触发命令"))
self.label_choose_song_enable.setText(_translate("MainWindow", "启用"))
self.label_choose_song_match_fail_copy.setText(_translate("MainWindow", "匹配失败文案"))
self.label_choose_song_random_cmd.setText(_translate("MainWindow", "随机点歌命令"))
self.groupBox_schedule.setTitle(_translate("MainWindow", "定时任务"))
self.groupBox_ddsp_svc.setTitle(_translate("MainWindow", "DDSP_SVC"))
self.label_ddsp_svc_enable.setText(_translate("MainWindow", "启用"))
self.label_ddsp_svc_fSafePrefixPadLength.setText(_translate("MainWindow", "安全前缀填充长度"))
self.checkBox_ddsp_svc_enable.setText(_translate("MainWindow", "是"))
self.label_ddsp_svc_api_ip_port.setText(_translate("MainWindow", "API地址"))
self.label_ddsp_svc_config_path.setText(_translate("MainWindow", "配置文件路径"))
self.label_ddsp_svc_sSpeakId.setText(_translate("MainWindow", "说话人ID"))
self.label_ddsp_svc_fPitchChange.setText(_translate("MainWindow", "变调"))
self.label_ddsp_svc_sampleRate.setText(_translate("MainWindow", "采样率"))
self.groupBox_so_vits_svc.setTitle(_translate("MainWindow", "so-vits-svc"))
self.checkBox_so_vits_svc_enable.setText(_translate("MainWindow", "是"))
self.label_so_vits_svc_config_path.setText(_translate("MainWindow", "配置文件路径"))
self.label_so_vits_svc_api_ip_port.setText(_translate("MainWindow", "API地址"))
self.label_so_vits_svc_enable.setText(_translate("MainWindow", "启用"))
self.label_so_vits_svc_spk.setText(_translate("MainWindow", "说话人"))
self.label_so_vits_svc_tran.setText(_translate("MainWindow", "音调"))
self.label_so_vits_svc_wav_format.setText(_translate("MainWindow", "输出音频格式"))
self.groupBox_sd.setTitle(_translate("MainWindow", "Stable Diffusion"))
self.label_sd_port.setText(_translate("MainWindow", "端口"))
self.label_sd_enable_hr.setText(_translate("MainWindow", "高分辨率生成"))
self.label_sd_hr_scale.setText(_translate("MainWindow", "高分辨率缩放因子"))
self.label_sd_hr_resize_x.setText(_translate("MainWindow", "图像水平像素"))
self.label_sd_hr_second_pass_steps.setText(_translate("MainWindow", "高分生二次传递步数"))
self.label_sd_denoising_strength.setText(_translate("MainWindow", "去噪强度"))
self.label_prompt_llm_type.setText(_translate("MainWindow", "LLM类型"))
self.label_prompt_llm_before_prompt.setText(_translate("MainWindow", "提示词前缀"))
self.checkBox_sd_enable_hr.setText(_translate("MainWindow", "启用"))
self.label_sd_trigger.setText(_translate("MainWindow", "弹幕触发前缀"))
self.label_sd_ip.setText(_translate("MainWindow", "IP地址"))
self.label_sd_steps.setText(_translate("MainWindow", "生成图像步数"))
self.label_sd_seed.setText(_translate("MainWindow", "随机种子"))
self.label_sd_styles.setText(_translate("MainWindow", "图像风格"))
self.label_sd_enable.setText(_translate("MainWindow", "启用"))
self.label_sd_cfg_scale.setText(_translate("MainWindow", "提示词相关性"))
self.label_sd_hr_resize_y.setText(_translate("MainWindow", "图像垂直像素"))
self.checkBox_sd_enable.setText(_translate("MainWindow", "是"))
self.label_sd_negative_prompt.setText(_translate("MainWindow", "负面提示词"))
self.label_prompt_llm_after_prompt.setText(_translate("MainWindow", "提示词后缀"))
self.groupBox_trends_copywriting.setTitle(_translate("MainWindow", "动态文案"))
self.label_trends_copywriting_random_play.setText(_translate("MainWindow", "随机播放"))
self.checkBox_trends_copywriting_random_play.setText(_translate("MainWindow", "启用"))
self.label_trends_copywriting_play_interval.setText(_translate("MainWindow", "文案播放间隔"))
self.label_trends_copywriting_enable.setText(_translate("MainWindow", "启用"))
self.checkBox_trends_copywriting_enable.setText(_translate("MainWindow", "是"))
self.groupBox_header.setTitle(_translate("MainWindow", "请求头"))
self.label_header_useragent.setText(_translate("MainWindow", "userAgent"))
self.lineEdit_header_useragent.setText(_translate("MainWindow", "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36 Edg/113.0.1774.42"))
self.groupBox_database.setTitle(_translate("MainWindow", "数据库"))
self.textBrowser.setHtml(_translate("MainWindow", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'仿宋\'; font-size:12pt; font-weight:400; font-style:normal;\">\n"
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'SimSun\'; font-size:9pt;\"><br /></p></body></html>"))
self.pushButton_copywriting_select.setText(_translate("MainWindow", "加载"))
self.label_copywriting_select.setText(_translate("MainWindow", "选择文案"))
self.pushButton_copywriting_synthetic_audio.setText(_translate("MainWindow", "合成音频"))
self.pushButton_copywriting_pause_play.setText(_translate("MainWindow", "暂停播放"))
self.label_copywriting_audio_interval.setText(_translate("MainWindow", "音频播放间隔"))
self.label_copywriting_switching_interval.setText(_translate("MainWindow", "音频切换间隔"))
self.pushButton_copywriting_refresh_list.setText(_translate("MainWindow", "刷新列表"))
self.label_copywriting_switching_random_play.setText(_translate("MainWindow", "音频随机播放"))
self.checkBox_copywriting_switching_random_play.setText(_translate("MainWindow", "启用"))
self.label_copywriting_edit.setText(_translate("MainWindow", "编辑文案"))
self.pushButton_copywriting_save.setText(_translate("MainWindow", "保存文案"))
self.pushButton_copywriting_loop_play.setText(_translate("MainWindow", "循环播放"))
self.pushButton_copywriting_config_index_add.setText(_translate("MainWindow", "增加"))
self.label_copywriting_config_index.setText(_translate("MainWindow", "文案编号"))
self.pushButton_copywriting_config_index_del.setText(_translate("MainWindow", "删除"))
self.groupBox_talk_google.setTitle(_translate("MainWindow", "谷歌"))
self.label_talk_google_tgt_lang.setText(_translate("MainWindow", "目标翻译语言"))
self.label_talk_type.setText(_translate("MainWindow", "录音类型"))
self.label_talk_volume_threshold.setText(_translate("MainWindow", "音量阈值"))
self.label_talk_username.setText(_translate("MainWindow", "你的名字"))
self.label_talk_continuous_talk.setText(_translate("MainWindow", "连续对话"))
self.label_talk_trigger_key.setText(_translate("MainWindow", "录音按键"))
self.groupBox_talk_baidu.setTitle(_translate("MainWindow", "百度"))
self.label_talk_baidu_app_id.setText(_translate("MainWindow", "AppID"))
self.label_talk_baidu_api_key.setText(_translate("MainWindow", "API Key"))
self.label_talk_baidu_secret_key.setText(_translate("MainWindow", "Secret Key"))
self.label_talk_chat_box.setText(_translate("MainWindow", "聊天框"))
self.checkBox_talk_continuous_talk.setText(_translate("MainWindow", "启用"))
self.label_talk_stop_trigger_key.setText(_translate("MainWindow", "停录按键"))
self.label_talk_silence_threshold.setText(_translate("MainWindow", "沉默阈值"))
self.pushButton_talk_chat_box_reread.setText(_translate("MainWindow", "直接复读"))
self.pushButton_talk_chat_box_send.setText(_translate("MainWindow", "发送"))
self.pushButton_factory.setText(_translate("MainWindow", "恢复出厂配置"))
self.pushButton_talk_page.setText(_translate("MainWindow", "④聊天页"))
self.menu_about.setTitle(_translate("MainWindow", "关于"))
self.menu.setTitle(_translate("MainWindow", "文件"))
self.action_official_store.setText(_translate("MainWindow", "官方仓库"))
self.action_video_tutorials.setText(_translate("MainWindow", "视频教程"))
self.action_exit.setText(_translate("MainWindow", "退出"))
self.action_online_doc.setText(_translate("MainWindow", "在线文档"))
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。