saba000farahani
commited on
Commit
•
7fdd657
1
Parent(s):
fd78f43
Update app.py
Browse files
app.py
CHANGED
@@ -132,7 +132,7 @@ def predict_and_plot(velocity, temperature, precipitation, humidity):
|
|
132 |
|
133 |
# Flatten the results into a single list of 19 outputs (1 plot + 6 contamination + 6 gradients + 6 cleaning times)
|
134 |
plot_output = fig
|
135 |
-
contamination_output = [f"{val * 100:.2f}%" for val in contamination_levels[0]]
|
136 |
gradients_output = [f"{val:.4f}" for val in gradients[0]]
|
137 |
cleaning_time_output = [f"{val:.2f}" for val in cleaning_times]
|
138 |
|
|
|
132 |
|
133 |
# Flatten the results into a single list of 19 outputs (1 plot + 6 contamination + 6 gradients + 6 cleaning times)
|
134 |
plot_output = fig
|
135 |
+
contamination_output = [f"{val * 100:.2f}% ± 7.1%" for val in contamination_levels[0]]
|
136 |
gradients_output = [f"{val:.4f}" for val in gradients[0]]
|
137 |
cleaning_time_output = [f"{val:.2f}" for val in cleaning_times]
|
138 |
|