Spaces:
Sleeping
Sleeping
Update modules/churn_analysis.py
Browse files
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
|
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 |
-
|
|
|
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)
|