Merge branch 'main' of https://github.com/QuentinFuxa/whisper_streaming_web
Browse files
whisper_fastapi_online_server.py
CHANGED
@@ -43,7 +43,7 @@ args = parser.parse_args()
|
|
43 |
asr, tokenizer = backend_factory(args)
|
44 |
|
45 |
# Load demo HTML for the root endpoint
|
46 |
-
with open("src/live_transcription.html", "r") as f:
|
47 |
html = f.read()
|
48 |
|
49 |
|
|
|
43 |
asr, tokenizer = backend_factory(args)
|
44 |
|
45 |
# Load demo HTML for the root endpoint
|
46 |
+
with open("src/live_transcription.html", "r", encoding="utf-8") as f:
|
47 |
html = f.read()
|
48 |
|
49 |
|