Franny Dean commited on
Commit
ba9905a
1 Parent(s): ad5199e
Files changed (2) hide show
  1. .ipynb_checkpoints/app-checkpoint.py +3 -1
  2. app.py +3 -1
.ipynb_checkpoints/app-checkpoint.py CHANGED
@@ -527,6 +527,8 @@ We demonstrate the ability of our model to predict left ventricular pressure-vol
527
  </p>
528
  """
529
 
 
 
530
  description2 = """\n \n
531
  Our model uses a hydraulic analogy model of cardiac function from <a href='https://ieeexplore.ieee.org/document/4729737/keywords#keywords'>Simaan et al 2008</a>. Below you can input values of predicted parameters and output a simulated pressure-volume loop predicted from the <a href='https://ieeexplore.ieee.org/document/4729737/keywords#keywords'>Simaan et al 2008</a> model, which is an ordinary differential equation. Tune parameters and press 'Run simulation.'
532
  """
@@ -557,7 +559,7 @@ with gr.Blocks() as demo:
557
  Tc = gr.Number(label="Cycle duration (Tc) s:")
558
  start_v = gr.Number(label="Initial volume (start_v) ml:")
559
 
560
-
561
  gr.Markdown(description2)
562
 
563
  simulation_button = gr.Button("Run simulation")
 
527
  </p>
528
  """
529
 
530
+ title2 = "<h3 style='text-align: center'> Physics-based model simulation</h3>"
531
+
532
  description2 = """\n \n
533
  Our model uses a hydraulic analogy model of cardiac function from <a href='https://ieeexplore.ieee.org/document/4729737/keywords#keywords'>Simaan et al 2008</a>. Below you can input values of predicted parameters and output a simulated pressure-volume loop predicted from the <a href='https://ieeexplore.ieee.org/document/4729737/keywords#keywords'>Simaan et al 2008</a> model, which is an ordinary differential equation. Tune parameters and press 'Run simulation.'
534
  """
 
559
  Tc = gr.Number(label="Cycle duration (Tc) s:")
560
  start_v = gr.Number(label="Initial volume (start_v) ml:")
561
 
562
+ gr.Markdown(title2)
563
  gr.Markdown(description2)
564
 
565
  simulation_button = gr.Button("Run simulation")
app.py CHANGED
@@ -527,6 +527,8 @@ We demonstrate the ability of our model to predict left ventricular pressure-vol
527
  </p>
528
  """
529
 
 
 
530
  description2 = """\n \n
531
  Our model uses a hydraulic analogy model of cardiac function from <a href='https://ieeexplore.ieee.org/document/4729737/keywords#keywords'>Simaan et al 2008</a>. Below you can input values of predicted parameters and output a simulated pressure-volume loop predicted from the <a href='https://ieeexplore.ieee.org/document/4729737/keywords#keywords'>Simaan et al 2008</a> model, which is an ordinary differential equation. Tune parameters and press 'Run simulation.'
532
  """
@@ -557,7 +559,7 @@ with gr.Blocks() as demo:
557
  Tc = gr.Number(label="Cycle duration (Tc) s:")
558
  start_v = gr.Number(label="Initial volume (start_v) ml:")
559
 
560
-
561
  gr.Markdown(description2)
562
 
563
  simulation_button = gr.Button("Run simulation")
 
527
  </p>
528
  """
529
 
530
+ title2 = "<h3 style='text-align: center'> Physics-based model simulation</h3>"
531
+
532
  description2 = """\n \n
533
  Our model uses a hydraulic analogy model of cardiac function from <a href='https://ieeexplore.ieee.org/document/4729737/keywords#keywords'>Simaan et al 2008</a>. Below you can input values of predicted parameters and output a simulated pressure-volume loop predicted from the <a href='https://ieeexplore.ieee.org/document/4729737/keywords#keywords'>Simaan et al 2008</a> model, which is an ordinary differential equation. Tune parameters and press 'Run simulation.'
534
  """
 
559
  Tc = gr.Number(label="Cycle duration (Tc) s:")
560
  start_v = gr.Number(label="Initial volume (start_v) ml:")
561
 
562
+ gr.Markdown(title2)
563
  gr.Markdown(description2)
564
 
565
  simulation_button = gr.Button("Run simulation")