Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -102,7 +102,7 @@ def compute_and_explain(P1,P2,V1,V2,z1,z2,rho,mu,D,L,roughness,use_darcy,mode):
|
|
| 102 |
with gr.Blocks() as demo:
|
| 103 |
gr.Markdown("# Bernoulli Pipe Flow Calculator")
|
| 104 |
gr.Markdown("This Space hosts a Bernoulli pipe flow calculator for calculating the pump head loss for an internal flow system through a pipe. An example of one such pipe system is shown below. To utilize this calculator, simply fill in the required system metrics and hit 'compute'.")
|
| 105 |
-
gr.Image(
|
| 106 |
with gr.Row():
|
| 107 |
with gr.Column(scale=2):
|
| 108 |
P1 = gr.Number(value=101325, label='P1 [Pa]')
|
|
|
|
| 102 |
with gr.Blocks() as demo:
|
| 103 |
gr.Markdown("# Bernoulli Pipe Flow Calculator")
|
| 104 |
gr.Markdown("This Space hosts a Bernoulli pipe flow calculator for calculating the pump head loss for an internal flow system through a pipe. An example of one such pipe system is shown below. To utilize this calculator, simply fill in the required system metrics and hit 'compute'.")
|
| 105 |
+
gr.Image("bernoulli.png", label="Bernoulli Diagram", show_label=True)
|
| 106 |
with gr.Row():
|
| 107 |
with gr.Column(scale=2):
|
| 108 |
P1 = gr.Number(value=101325, label='P1 [Pa]')
|