habdine commited on
Commit
fb9d194
·
verified ·
1 Parent(s): 43acb82

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -12,7 +12,7 @@ PROTEIN_VISUAL_URL = "https://cas-bridge.xethub.hf.co/xet-bridge-us/68e677c594d3
12
 
13
  PROTEIN_HERO = f"""
14
  <div class="visual-card hero-card">
15
- <img src="./model.png" alt="Protein rendering" class="protein-visual">
16
  </div>
17
  """
18
 
@@ -191,7 +191,7 @@ with gr.Blocks(theme=theme, css_paths="style.css", fill_height=True) as demo:
191
  f"""
192
  <div class="brand-header center">
193
  <a href="https://www.lix.polytechnique.fr/dascim/" target="_blank" rel="noopener">
194
- <img src="./logo_dascim.png" alt="DASCIM team logo" class="team-logo">
195
  </a>
196
  </div>
197
  """
@@ -310,4 +310,4 @@ with gr.Blocks(theme=theme, css_paths="style.css", fill_height=True) as demo:
310
  gr.DuplicateButton(value="Duplicate Space for private use", elem_id="duplicate-button")
311
 
312
  if __name__ == "__main__":
313
- demo.queue(max_size=20).launch()
 
12
 
13
  PROTEIN_HERO = f"""
14
  <div class="visual-card hero-card">
15
+ <img src="file/model.png" alt="Protein rendering" class="protein-visual">
16
  </div>
17
  """
18
 
 
191
  f"""
192
  <div class="brand-header center">
193
  <a href="https://www.lix.polytechnique.fr/dascim/" target="_blank" rel="noopener">
194
+ <img src="file/logo_dascim.png" alt="DASCIM team logo" class="team-logo">
195
  </a>
196
  </div>
197
  """
 
310
  gr.DuplicateButton(value="Duplicate Space for private use", elem_id="duplicate-button")
311
 
312
  if __name__ == "__main__":
313
+ demo.queue(max_size=20).launch(allowed_paths=["."])