Update app.py
Browse files
app.py
CHANGED
@@ -17,15 +17,7 @@ html_mod=f"""
|
|
17 |
height="100%"
|
18 |
></iframe>
|
19 |
</div>"""
|
20 |
-
with open("tmp.html","w") as f:
|
21 |
-
f.write(html_mod)
|
22 |
-
f.close
|
23 |
-
with open("tmp.html","r") as f:
|
24 |
-
out = f.read()
|
25 |
-
print(out)
|
26 |
|
27 |
with gr.Blocks() as app:
|
28 |
gr.HTML(html_mod)
|
29 |
-
btn=gr.Button()
|
30 |
-
btn.click(None,None,None)
|
31 |
app.launch()
|
|
|
17 |
height="100%"
|
18 |
></iframe>
|
19 |
</div>"""
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
|
21 |
with gr.Blocks() as app:
|
22 |
gr.HTML(html_mod)
|
|
|
|
|
23 |
app.launch()
|