Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Duplicated from
Omnibus/AI-book
Nymbo
/
AI-book
like
1
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
37686b3
AI-book
/
app.py
Omnibus
Update app.py
37686b3
verified
about 1 year ago
raw
Copy download link
history
blame
Safe
222 Bytes
import
gradio
as
gr
def
load_html
():
with
open
(
'index.html'
,
'r'
)
as
h:
html=h.read()
h.close()
return
html
with
gr.Blocks()
as
app:
html = gr.HTML()
app.load(load_html,
None
,html)
app.launch()