Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
marquesafonso
/
multilang-asr-captioner
like
1
Running
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
multilang-asr-captioner
/
utils
/
read_html.py
marquesafonso
separate html to static folder. added read_html util.
23e5406
over 1 year ago
raw
Copy download link
history
blame
contribute
delete
Safe
125 Bytes
def
read_html
(
html_file
):
with
open
(html_file,
'r'
, encoding=
'utf-8'
)
as
f:
content = f.read()
return
content