Merge pull request #15 from in-c0/patch-1
Specify encoding to ensure Python reads file as UTF-8
This commit is contained in:
commit
6ee91c3c93
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ args = parser.parse_args()
|
||||||
asr, tokenizer = backend_factory(args)
|
asr, tokenizer = backend_factory(args)
|
||||||
|
|
||||||
# Load demo HTML for the root endpoint
|
# 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()
|
html = f.read()
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue