simonduerr commited on
Commit
2791f99
·
1 Parent(s): 87cfc54

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -68,7 +68,7 @@ def molecule(input_pdb):
68
  </body></html>"""
69
  )
70
 
71
- return f"""<iframe style="width: 800px; height: 800px" name="result" allow="midi; geolocation; microphone; camera;
72
  display-capture; encrypted-media;" sandbox="allow-modals allow-forms
73
  allow-scripts allow-same-origin allow-popups
74
  allow-top-navigation-by-user-activation allow-downloads" allowfullscreen=""
@@ -85,7 +85,7 @@ demo = gr.Blocks()
85
  with demo:
86
  gr.Markdown("# PDB viewer using 3Dmol.js")
87
  with gr.Row():
88
- with gr.Group():
89
  inp = gr.Textbox(
90
  placeholder="PDB Code or upload file below", label="Input structure"
91
  )
 
68
  </body></html>"""
69
  )
70
 
71
+ return f"""<iframe style="width: 600px; height: 600px" name="result" allow="midi; geolocation; microphone; camera;
72
  display-capture; encrypted-media;" sandbox="allow-modals allow-forms
73
  allow-scripts allow-same-origin allow-popups
74
  allow-top-navigation-by-user-activation allow-downloads" allowfullscreen=""
 
85
  with demo:
86
  gr.Markdown("# PDB viewer using 3Dmol.js")
87
  with gr.Row():
88
+ with gr.Box():
89
  inp = gr.Textbox(
90
  placeholder="PDB Code or upload file below", label="Input structure"
91
  )