DSDUDEd commited on
Commit
d9ead0b
·
verified ·
1 Parent(s): 46b5ade

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -1,6 +1,9 @@
1
  import gradio as gr
2
 
 
 
 
3
  with gr.Blocks() as demo:
4
- demo.HTML(open("index.html", "r").read())
5
 
6
  demo.launch()
 
1
  import gradio as gr
2
 
3
+ # Read the HTML content
4
+ html_content = open("index.html", "r").read()
5
+
6
  with gr.Blocks() as demo:
7
+ gr.HTML(html_content)
8
 
9
  demo.launch()