Commit
•
6db9186
1
Parent(s):
2532707
Update app.py
Browse files
app.py
CHANGED
@@ -17,16 +17,16 @@ def make_prediction(Fly_ash, GGBS_GGBFS, Fine_aggregate, Na2SiO3_solution, NaOH_
|
|
17 |
|
18 |
# Inputs for the models
|
19 |
inputs = [
|
20 |
-
gr.Slider(100, 961.0, label='Fly ash (Kg/m³)', info="Amount of Fly ash (Kg/m³)"),
|
21 |
-
gr.Slider(100, 711.0, label='GGBS or GGBFS (Kg/m³)', info="Amount of Ground Granulated Blast Furnace Slag(Kg/m³)"),
|
22 |
-
gr.Slider(300, 1956.0, label='Fine aggregate (Kg/m³)', info="Amount of Fine aggregate (Kg/m³)"),
|
23 |
-
gr.Slider(14, 531.0, label='Na₂SiO₃ solution (Kg/m³)', info="Amount of Sodium Silicate solution (Kg/m³)"),
|
24 |
-
gr.Slider(12, 284.44, label='NaOH solution (Kg/m³)', info="Amount of Sodium Hydroxide solution (Kg/m³)"),
|
25 |
-
gr.Slider(3, 16.0, label='NaOH concentration (M)', info="Sodium Hydroxide concentration (M)"),
|
26 |
-
gr.Slider(0, 35.
|
27 |
-
gr.Slider(20, 120, label='Curing temperature (°C)'),
|
28 |
-
gr.Slider(1, 90, label='Curing Period (days)', info="For curing temperature more than 30 °C the curing period should be maximum of 3 days"),
|
29 |
-
gr.Slider(1, 180, label='Testing Age (days)', info="For curing temperature less than 30 °C the testing age should be equal to the curing period"),
|
30 |
]
|
31 |
|
32 |
|
|
|
17 |
|
18 |
# Inputs for the models
|
19 |
inputs = [
|
20 |
+
gr.Slider(100, 961.0, label='Fly ash (Kg/m³) | Choose a value between 100 and 961', info="Amount of Fly ash (Kg/m³)"),
|
21 |
+
gr.Slider(100, 711.0, label='GGBS or GGBFS (Kg/m³) | Choose a value between 100 and 711', info="Amount of Ground Granulated Blast Furnace Slag(Kg/m³)"),
|
22 |
+
gr.Slider(300, 1956.0, label='Fine aggregate (Kg/m³) | Choose a value between 300 and 1956', info="Amount of Fine aggregate (Kg/m³)"),
|
23 |
+
gr.Slider(14, 531.0, label='Na₂SiO₃ solution (Kg/m³) | Choose a value between 14 and 531', info="Amount of Sodium Silicate solution (Kg/m³)"),
|
24 |
+
gr.Slider(12, 284.44, label='NaOH solution (Kg/m³) | Choose a value between 12 and 284.44', info="Amount of Sodium Hydroxide solution (Kg/m³)"),
|
25 |
+
gr.Slider(3, 16.0, label='NaOH concentration (M) | Choose a value between 3 and 16', info="Sodium Hydroxide concentration (M)"),
|
26 |
+
gr.Slider(0, 35.55, label='Superplasticiser (kg/m³) | Choose a value between 0 and 35.55', info="Amount of Superplasticiser (kg/m³)"),
|
27 |
+
gr.Slider(20, 120, label='Curing temperature (°C) | Choose a value between 20 and 120'),
|
28 |
+
gr.Slider(1, 90, label='Curing Period (days) | Choose a value between 1 and 90', info="For curing temperature more than 30 °C the curing period should be maximum of 3 days"),
|
29 |
+
gr.Slider(1, 180, label='Testing Age (days) | Choose a value between 1 and 180', info="For curing temperature less than 30 °C the testing age should be equal to the curing period"),
|
30 |
]
|
31 |
|
32 |
|