ACA050 commited on
Commit
e1621a3
·
verified ·
1 Parent(s): 5015b06

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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
- # To run this app locally for testing, uncomment the line below:
129
- # iface.launch()
 
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)