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 24cf893 commit bfd034a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Local-Windows/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def main(segment_duration, total_duration):
print(f"無法翻譯 {segment}。")
else:
print(f"無法轉錄片段 {segment}。")
os.remove(filename) # 清理:刪除聲音檔案
os.remove(filename) # 清理:聲音檔案
else:
print(f"錄製段落 {segment} 失敗。")
time.sleep(segment_duration)
Expand Down

0 comments on commit bfd034a

Please sign in to comment.