Remove SenseVoice special tags from output.
(text: str)
| 83 | |
| 84 | |
| 85 | def clean_text(text: str) -> str: |
| 86 | """Remove SenseVoice special tags from output.""" |
| 87 | return re.sub(r'<\|[^|]*\|>', '', text).strip() |
| 88 | |
| 89 | |
| 90 | @app.post("/v1/audio/transcriptions") |
no outgoing calls
no test coverage detected
searching dependent graphs…