Files
live-call-asr-monitor/frontend-redesign/patch_labels.py
2026-07-16 11:24:02 +08:00

12 lines
428 B
Python

import re
with open('src/components/SandboxSimulation.tsx', 'r') as f:
content = f.read()
content = content.replace("ASR 听写会话语音流 (ASR Stream)", "ASR 听写会话语音流")
content = content.replace("新通话 (New)", "新通话")
content = content.replace("剧本连播模拟器 (Scenario Player)", "剧本连播模拟器")
with open('src/components/SandboxSimulation.tsx', 'w') as f:
f.write(content)