Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -125,5 +125,5 @@ def predict_failure_with_shap(Type, air_temp, process_temp, rotational_speed, to
|
|
| 125 |
# Return the outputs for Gradio
|
| 126 |
return prediction_label, probabilities_label, fig
|
| 127 |
|
| 128 |
-
|
| 129 |
-
|
|
|
|
| 125 |
# Return the outputs for Gradio
|
| 126 |
return prediction_label, probabilities_label, fig
|
| 127 |
|
| 128 |
+
if __name__ == "__main__":
|
| 129 |
+
iface.launch(server_name="0.0.0.0", server_port=7860)
|