Omnibus commited on
Commit
228d1cf
1 Parent(s): 8425a5b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
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(tmp.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()