Merge pull request #15 from in-c0/patch-1

Specify encoding to ensure Python reads file as UTF-8
This commit is contained in:
Quentin Fuxa 2025-01-13 20:30:51 +01:00 committed by GitHub
commit 6ee91c3c93

View file

@ -43,7 +43,7 @@ args = parser.parse_args()
asr, tokenizer = backend_factory(args)
# Load demo HTML for the root endpoint
with open("src/live_transcription.html", "r") as f:
with open("src/live_transcription.html", "r", encoding="utf-8") as f:
html = f.read()