IS361Group4 commited on
Commit
fa24582
·
verified ·
1 Parent(s): 19d044b

Update modules/churn_analysis.py

Browse files
Files changed (1) hide show
  1. modules/churn_analysis.py +2 -2
modules/churn_analysis.py CHANGED
@@ -76,7 +76,7 @@ def predict(SeniorCitizen, Partner, Dependents, tenure,
76
 
77
  input_interface = []
78
 
79
- with gr.Blocks(theme=gr.themes.Soft()) as app:
80
 
81
  Title = gr.Label('Customer Churn Prediction App')
82
 
@@ -140,4 +140,4 @@ with gr.Blocks(theme=gr.themes.Soft()) as app:
140
 
141
  predict_btn.click(fn=predict, inputs=input_interface, outputs=output_interface)
142
 
143
- app.launch(share=True)
 
76
 
77
  input_interface = []
78
 
79
+ with gr.Blocks(theme=gr.themes.Soft()) as demo:
80
 
81
  Title = gr.Label('Customer Churn Prediction App')
82
 
 
140
 
141
  predict_btn.click(fn=predict, inputs=input_interface, outputs=output_interface)
142
 
143
+ demo.launch(share=True)