jfaustin commited on
Commit
a5b0df3
·
1 Parent(s): c88878c

refact: layout

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -113,7 +113,6 @@ def _create_molecule_visualization(pdb_path: Path, sequence: str, output_dir: Pa
113
  def _wrap_in_iframe(content: str) -> str:
114
  """Wrap content in an HTML iframe with appropriate styling and permissions."""
115
  return f"""<iframe
116
- style="width: 800px; height: 1300px"
117
  name="result"
118
  allow="midi; geolocation; microphone; camera; display-capture; encrypted-media;"
119
  sandbox="allow-modals allow-forms allow-scripts allow-same-origin allow-popups allow-top-navigation-by-user-activation allow-downloads"
@@ -123,7 +122,7 @@ def _wrap_in_iframe(content: str) -> str:
123
  srcdoc='{content}'
124
  ></iframe>"""
125
 
126
- demo = gr.Blocks()
127
 
128
  with demo:
129
  gr.Markdown("# Input")
@@ -133,6 +132,7 @@ with demo:
133
  gr.Markdown("# Output")
134
  with gr.Row():
135
  predict_btn = gr.Button("Predict")
 
136
  mol_output = gr.HTML()
137
 
138
  predict_btn.click(
 
113
  def _wrap_in_iframe(content: str) -> str:
114
  """Wrap content in an HTML iframe with appropriate styling and permissions."""
115
  return f"""<iframe
 
116
  name="result"
117
  allow="midi; geolocation; microphone; camera; display-capture; encrypted-media;"
118
  sandbox="allow-modals allow-forms allow-scripts allow-same-origin allow-popups allow-top-navigation-by-user-activation allow-downloads"
 
122
  srcdoc='{content}'
123
  ></iframe>"""
124
 
125
+ demo = gr.Blocks(title="Folding Studio: structure prediction with Boltz-1")
126
 
127
  with demo:
128
  gr.Markdown("# Input")
 
132
  gr.Markdown("# Output")
133
  with gr.Row():
134
  predict_btn = gr.Button("Predict")
135
+ with gr.Row():
136
  mol_output = gr.HTML()
137
 
138
  predict_btn.click(