Franny Dean commited on
Commit
6c5fffa
1 Parent(s): 9b9815d

attempt to center title

Browse files
Files changed (2) hide show
  1. .ipynb_checkpoints/app-checkpoint.py +2 -2
  2. app.py +2 -2
.ipynb_checkpoints/app-checkpoint.py CHANGED
@@ -517,7 +517,7 @@ def generate_example():
517
  animated = "prediction.mp4"
518
  return video, animated, Rm, Ra, Emax, Emin, Vd, Tc, start_v
519
 
520
- title = "Non-Invasive Medical Digital Twins using Physics-Informed Self-Supervised Learning"
521
 
522
  description = """
523
  <p style='text-align: center'> Keying Kuang, Frances Dean, Jack B. Jedlicki, David Ouyang, Anthony Philippakis, David Sontag, Ahmed Alaa <br></p>
@@ -526,7 +526,7 @@ We demonstrate the ability of our model to predict left ventricular pressure-vol
526
  Below you can input values of predicted parameters and output a simulated pressure-volume loop predicted by the <a href='https://ieeexplore.ieee.org/document/4729737/keywords#keywords'>Simaan et al 2008</a> hydraulic analogy model by pressing 'Run simulation.'</p>
527
  """
528
 
529
- gr.Markdown("<h1 style='text-align: center; margin-bottom: 1rem'>" + title + "</h1>")
530
  gr.Markdown(description)
531
 
532
  with gr.Blocks() as demo:
 
517
  animated = "prediction.mp4"
518
  return video, animated, Rm, Ra, Emax, Emin, Vd, Tc, start_v
519
 
520
+ title = "<h1 style='text-align: center; margin-bottom: 1rem'> Non-Invasive Medical Digital Twins using Physics-Informed Self-Supervised Learning </h1>"
521
 
522
  description = """
523
  <p style='text-align: center'> Keying Kuang, Frances Dean, Jack B. Jedlicki, David Ouyang, Anthony Philippakis, David Sontag, Ahmed Alaa <br></p>
 
526
  Below you can input values of predicted parameters and output a simulated pressure-volume loop predicted by the <a href='https://ieeexplore.ieee.org/document/4729737/keywords#keywords'>Simaan et al 2008</a> hydraulic analogy model by pressing 'Run simulation.'</p>
527
  """
528
 
529
+ gr.Markdown(title)
530
  gr.Markdown(description)
531
 
532
  with gr.Blocks() as demo:
app.py CHANGED
@@ -517,7 +517,7 @@ def generate_example():
517
  animated = "prediction.mp4"
518
  return video, animated, Rm, Ra, Emax, Emin, Vd, Tc, start_v
519
 
520
- title = "Non-Invasive Medical Digital Twins using Physics-Informed Self-Supervised Learning"
521
 
522
  description = """
523
  <p style='text-align: center'> Keying Kuang, Frances Dean, Jack B. Jedlicki, David Ouyang, Anthony Philippakis, David Sontag, Ahmed Alaa <br></p>
@@ -526,7 +526,7 @@ We demonstrate the ability of our model to predict left ventricular pressure-vol
526
  Below you can input values of predicted parameters and output a simulated pressure-volume loop predicted by the <a href='https://ieeexplore.ieee.org/document/4729737/keywords#keywords'>Simaan et al 2008</a> hydraulic analogy model by pressing 'Run simulation.'</p>
527
  """
528
 
529
- gr.Markdown("<h1 style='text-align: center; margin-bottom: 1rem'>" + title + "</h1>")
530
  gr.Markdown(description)
531
 
532
  with gr.Blocks() as demo:
 
517
  animated = "prediction.mp4"
518
  return video, animated, Rm, Ra, Emax, Emin, Vd, Tc, start_v
519
 
520
+ title = "<h1 style='text-align: center; margin-bottom: 1rem'> Non-Invasive Medical Digital Twins using Physics-Informed Self-Supervised Learning </h1>"
521
 
522
  description = """
523
  <p style='text-align: center'> Keying Kuang, Frances Dean, Jack B. Jedlicki, David Ouyang, Anthony Philippakis, David Sontag, Ahmed Alaa <br></p>
 
526
  Below you can input values of predicted parameters and output a simulated pressure-volume loop predicted by the <a href='https://ieeexplore.ieee.org/document/4729737/keywords#keywords'>Simaan et al 2008</a> hydraulic analogy model by pressing 'Run simulation.'</p>
527
  """
528
 
529
+ gr.Markdown(title)
530
  gr.Markdown(description)
531
 
532
  with gr.Blocks() as demo: