Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Arcelibs authored Dec 26, 2023
1 parent 87f4f59 commit 266fcab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Local-Windows/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ def main(segment_duration, total_duration):
print(f"录制段落 {segment} 失败。")
time.sleep(segment_duration)

# 配置参数
SEGMENT_DURATION = 10 # 每个音频片段的长度,单位:秒
# 配置參數
SEGMENT_DURATION = 10 # 每一段錄製的長度,單位是秒
TOTAL_DURATION = 6000 # 总录制时间,单位:秒

if __name__ == "__main__":
Expand Down

0 comments on commit 266fcab

Please sign in to comment.