MohamedRabie26
commited on
Commit
•
e1605c7
1
Parent(s):
df1a780
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ def make_prediction(Fly_ash, GGBS_GGBFS, Fine_aggregate, Na2SiO3_solution, NaOH_
|
|
12 |
predt_co2 = best_model_co2.predict([[Fly_ash, GGBS_GGBFS, Fine_aggregate, Na2SiO3_solution, NaOH_solution, NaOH_concentration, Superplasticiser, Curing_temperature, Curing_Period, Testing_Age]])
|
13 |
value_cs = round(predt_cs[0], 3)
|
14 |
value_co2 = round(predt_co2[0], 3)
|
15 |
-
image_component = gr.Image("
|
16 |
return value_cs, value_co2, image_component,
|
17 |
|
18 |
# Inputs for the models
|
|
|
12 |
predt_co2 = best_model_co2.predict([[Fly_ash, GGBS_GGBFS, Fine_aggregate, Na2SiO3_solution, NaOH_solution, NaOH_concentration, Superplasticiser, Curing_temperature, Curing_Period, Testing_Age]])
|
13 |
value_cs = round(predt_cs[0], 3)
|
14 |
value_co2 = round(predt_co2[0], 3)
|
15 |
+
image_component = gr.Image("MOO results.png", label="multi-objective optimization", type="pil")
|
16 |
return value_cs, value_co2, image_component,
|
17 |
|
18 |
# Inputs for the models
|