Update app.py
Browse files
app.py
CHANGED
@@ -34,10 +34,11 @@ html_mod=f"""
|
|
34 |
with open("tmp.html","w") as f:
|
35 |
f.write(html_mod)
|
36 |
f.close
|
37 |
-
|
|
|
38 |
|
39 |
with gr.Blocks() as app:
|
40 |
-
gr.HTML(
|
41 |
btn=gr.Button()
|
42 |
btn.click(None,None,None)
|
43 |
app.launch()
|
|
|
34 |
with open("tmp.html","w") as f:
|
35 |
f.write(html_mod)
|
36 |
f.close
|
37 |
+
with open("tmp.html","r") as f:
|
38 |
+
out = f.read()
|
39 |
|
40 |
with gr.Blocks() as app:
|
41 |
+
gr.HTML(out)
|
42 |
btn=gr.Button()
|
43 |
btn.click(None,None,None)
|
44 |
app.launch()
|