添加评论开关
This commit is contained in:
2
.idea/misc.xml
generated
2
.idea/misc.xml
generated
@@ -3,5 +3,5 @@
|
||||
<component name="Black">
|
||||
<option name="sdkName" value="Python 3.12 (AI-IOS)" />
|
||||
</component>
|
||||
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.12" project-jdk-type="Python SDK" />
|
||||
<component name="ProjectRootManager" version="2" project-jdk-name="IOSAI" project-jdk-type="Python SDK" />
|
||||
</project>
|
||||
@@ -416,7 +416,7 @@ class ScriptManager():
|
||||
retries = 0
|
||||
while not event.is_set():
|
||||
try:
|
||||
self.greetNewFollowers(udid, needReply, needTranslate, event)
|
||||
self.greetNewFollowers(udid, needReply, needTranslate, isComment,event)
|
||||
|
||||
except Exception as e:
|
||||
retries += 1
|
||||
@@ -599,7 +599,7 @@ class ScriptManager():
|
||||
event.wait(timeout=1)
|
||||
LogManager.method_info("停止脚本成功", method="task")
|
||||
|
||||
# 使用yolo v8模型进行评论
|
||||
# 使用OCR进行评论
|
||||
if isComment:
|
||||
self.comment_flow(filePath, session, udid, 100, 100)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user