multimodalart HF Staff commited on
Commit
f9d3b3a
路
verified 路
1 Parent(s): 8353d08

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -92,7 +92,7 @@ def _viewer_for(cif_path: str | Path, height: int = 520) -> str:
92
  return view._make_html()
93
 
94
 
95
- @spaces.GPU(duration=150)
96
  def design_protein(
97
  cif_file,
98
  mode="Full design",
@@ -210,7 +210,7 @@ def _unique_path(row: int, seed) -> Path:
210
  return candidate
211
 
212
 
213
- with gr.Blocks(theme=gr.themes.Citrus(), css=CSS, title="RFD4-Proteina 路 Diffusers") as demo:
214
  gr.HTML(
215
  """
216
  <h1 style="margin: 0; font-size: 28px;">RFD4-Proteina 路 Diffusers</h1>
@@ -292,4 +292,4 @@ with gr.Blocks(theme=gr.themes.Citrus(), css=CSS, title="RFD4-Proteina 路 Diffus
292
  label="Author examples (from the model card, BSD-3-Clause)",
293
  )
294
 
295
- demo.launch(mcp_server=True)
 
92
  return view._make_html()
93
 
94
 
95
+ @spaces.GPU(duration=120)
96
  def design_protein(
97
  cif_file,
98
  mode="Full design",
 
210
  return candidate
211
 
212
 
213
+ with gr.Blocks(title="RFD4-Proteina 路 Diffusers") as demo:
214
  gr.HTML(
215
  """
216
  <h1 style="margin: 0; font-size: 28px;">RFD4-Proteina 路 Diffusers</h1>
 
292
  label="Author examples (from the model card, BSD-3-Clause)",
293
  )
294
 
295
+ demo.launch(theme=gr.themes.Citrus(), css=CSS, mcp_server=True)