Skip to content

Commit

Permalink
新增 念弹幕功能,可以对直播间弹幕进行复读,更有针对性,试用助理场景
Browse files Browse the repository at this point in the history
  • Loading branch information
Ikaros-521 committed Sep 10, 2023
1 parent 720a4d8 commit edd1153
Show file tree
Hide file tree
Showing 7 changed files with 539 additions and 390 deletions.
11 changes: 10 additions & 1 deletion UI_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def setupUi(self, MainWindow):
self.scrollArea.setWidgetResizable(True)
self.scrollArea.setObjectName("scrollArea")
self.scrollAreaWidgetContents = QtWidgets.QWidget()
self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, -5167, 984, 10033))
self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, -268, 984, 10096))
self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents")
self.verticalLayout = QtWidgets.QVBoxLayout(self.scrollAreaWidgetContents)
self.verticalLayout.setContentsMargins(35, 20, 35, 20)
Expand Down Expand Up @@ -703,6 +703,14 @@ def setupUi(self, MainWindow):
self.gridLayout_bilibili.setObjectName("gridLayout_bilibili")
self.gridLayout_72.addLayout(self.gridLayout_bilibili, 0, 0, 1, 1)
self.gridLayout.addWidget(self.groupBox_bilibili, 11, 0, 1, 2)
self.groupBox_read_comment = QtWidgets.QGroupBox(self.formWidget)
self.groupBox_read_comment.setObjectName("groupBox_read_comment")
self.gridLayout_75 = QtWidgets.QGridLayout(self.groupBox_read_comment)
self.gridLayout_75.setObjectName("gridLayout_75")
self.gridLayout_read_comment = QtWidgets.QGridLayout()
self.gridLayout_read_comment.setObjectName("gridLayout_read_comment")
self.gridLayout_75.addLayout(self.gridLayout_read_comment, 0, 0, 1, 1)
self.gridLayout.addWidget(self.groupBox_read_comment, 14, 0, 1, 2)
self.verticalLayout.addWidget(self.formWidget)
self.groupBox_zhipu = QtWidgets.QGroupBox(self.scrollAreaWidgetContents)
self.groupBox_zhipu.setObjectName("groupBox_zhipu")
Expand Down Expand Up @@ -2045,6 +2053,7 @@ def retranslateUi(self, MainWindow):
self.label_before_prompt.setText(_translate("MainWindow", "提示词前缀"))
self.groupBox_play_audio.setTitle(_translate("MainWindow", "音频播放"))
self.groupBox_bilibili.setTitle(_translate("MainWindow", "哔哩哔哩"))
self.groupBox_read_comment.setTitle(_translate("MainWindow", "念弹幕"))
self.groupBox_zhipu.setTitle(_translate("MainWindow", "智谱AI"))
self.groupBox_langchain_chatglm.setTitle(_translate("MainWindow", "Langchain_ChatGLM"))
self.label_langchain_chatglm_api_ip_port.setText(_translate("MainWindow", "api地址"))
Expand Down
Loading

0 comments on commit edd1153

Please sign in to comment.