Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
Omnibus
/
AI-book
like
0
Running
App
Files
Files
Community
37686b3
AI-book
/
app.py
Omnibus
Update app.py
37686b3
verified
7 months ago
raw
Copy download link
history
blame
No virus
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()