IS361Group4 commited on
Commit
90b519b
·
verified ·
1 Parent(s): 79446df

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -5
app.py CHANGED
@@ -15,17 +15,16 @@ with gr.Blocks() as app:
15
  with gr.Tab("Financial Analyst"):
16
  create_financial_tab()
17
 
18
- # with gr.Tab("Personal Info Identifier"):
19
- # gr.Interface.load("models/iiiorg/piiranha-v1-detect-personal-information")
20
 
21
  with gr.Tab("Churn Analysis"):
22
  gr.Markdown("Customer Churn Prediction")
23
 
24
- # อธิบายเบื้องต้น
25
  with gr.Row():
26
  gr.Markdown("This app predicts the likelihood of a customer to leave or stay with the company.")
27
 
28
- # กำหนด input columns
29
  with gr.Row():
30
  with gr.Column():
31
  input_interface_column_1 = [
@@ -78,5 +77,4 @@ with gr.Blocks() as app:
78
 
79
  # เชื่อมปุ่มกับฟังก์ชัน
80
  predict_btn.click(fn=predict, inputs=input_interface, outputs=output_interface)
81
- gr.load("models/iiiorg/piiranha-v1-detect-personal-information").launch()
82
  app.launch(share=True)
 
15
  with gr.Tab("Financial Analyst"):
16
  create_financial_tab()
17
 
18
+ with gr.Tab("Personal Info Identifier"):
19
+ create_personal_info_tab()
20
 
21
  with gr.Tab("Churn Analysis"):
22
  gr.Markdown("Customer Churn Prediction")
23
 
24
+
25
  with gr.Row():
26
  gr.Markdown("This app predicts the likelihood of a customer to leave or stay with the company.")
27
 
 
28
  with gr.Row():
29
  with gr.Column():
30
  input_interface_column_1 = [
 
77
 
78
  # เชื่อมปุ่มกับฟังก์ชัน
79
  predict_btn.click(fn=predict, inputs=input_interface, outputs=output_interface)
 
80
  app.launch(share=True)