Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -106,7 +106,7 @@ def greet(Total_Transaction, Total_Ct_Chng_Q4_Q1, Total_Relationship_Count, Educ
|
|
106 |
with gr.Blocks() as demo:
|
107 |
with gr.Row():
|
108 |
with gr.Column(scale=1,min_width=600):
|
109 |
-
gr.Image("
|
110 |
Total_Transaction = gr.Slider(0, 200,label="Total Transaction Count")
|
111 |
Total_Ct_Chng_Q4_Q1 = gr.Slider(0, 30,label="Transaction Count Q4 vs Q1")
|
112 |
Total_Relationship_Count = gr.Slider(0, 20,label="Total Relationship Count")
|
@@ -130,7 +130,7 @@ with gr.Blocks() as demo:
|
|
130 |
|
131 |
with gr.Row():
|
132 |
with gr.Column(scale=1,min_width=300):
|
133 |
-
gr.Image("/
|
134 |
churn1 = gr.Textbox(value="", label="Churn")
|
135 |
btn1 = gr.Button("PREDICT").style()
|
136 |
exp =1
|
@@ -146,7 +146,7 @@ with gr.Blocks() as demo:
|
|
146 |
Card Type - Silver\n
|
147 |
""")
|
148 |
with gr.Column(scale=2,min_width=300):
|
149 |
-
gr.Image("/
|
150 |
churn2 = gr.Textbox(value="", label="Churn")
|
151 |
bt2 = gr.Button("PREDICT").style()
|
152 |
bt2.click(fn=example2, inputs=[], outputs=[churn2])
|
@@ -161,7 +161,7 @@ with gr.Blocks() as demo:
|
|
161 |
Card Type - Gold\n
|
162 |
""")
|
163 |
with gr.Column(scale=3,min_width=300):
|
164 |
-
gr.Image("/
|
165 |
churn3 = gr.Textbox(value="", label="Churn")
|
166 |
btn3 = gr.Button("PREDICT").style()
|
167 |
btn3.click(fn=example3, inputs=[], outputs=[churn3])
|
@@ -176,7 +176,7 @@ with gr.Blocks() as demo:
|
|
176 |
Card Type - Blue\n
|
177 |
""")
|
178 |
with gr.Column(scale=4,min_width=300):
|
179 |
-
gr.Image("/
|
180 |
churn4 = gr.Textbox(value="", label="Churn")
|
181 |
btn4 = gr.Button("PREDICT").style()
|
182 |
btn4.click(fn=example4, inputs=[], outputs=[churn4])
|
|
|
106 |
with gr.Blocks() as demo:
|
107 |
with gr.Row():
|
108 |
with gr.Column(scale=1,min_width=600):
|
109 |
+
gr.Image("logo.png").style(height='7')
|
110 |
Total_Transaction = gr.Slider(0, 200,label="Total Transaction Count")
|
111 |
Total_Ct_Chng_Q4_Q1 = gr.Slider(0, 30,label="Transaction Count Q4 vs Q1")
|
112 |
Total_Relationship_Count = gr.Slider(0, 20,label="Total Relationship Count")
|
|
|
130 |
|
131 |
with gr.Row():
|
132 |
with gr.Column(scale=1,min_width=300):
|
133 |
+
gr.Image("/avatars/1.png")
|
134 |
churn1 = gr.Textbox(value="", label="Churn")
|
135 |
btn1 = gr.Button("PREDICT").style()
|
136 |
exp =1
|
|
|
146 |
Card Type - Silver\n
|
147 |
""")
|
148 |
with gr.Column(scale=2,min_width=300):
|
149 |
+
gr.Image("/avatars/4.png")
|
150 |
churn2 = gr.Textbox(value="", label="Churn")
|
151 |
bt2 = gr.Button("PREDICT").style()
|
152 |
bt2.click(fn=example2, inputs=[], outputs=[churn2])
|
|
|
161 |
Card Type - Gold\n
|
162 |
""")
|
163 |
with gr.Column(scale=3,min_width=300):
|
164 |
+
gr.Image("/avatars/2.png")
|
165 |
churn3 = gr.Textbox(value="", label="Churn")
|
166 |
btn3 = gr.Button("PREDICT").style()
|
167 |
btn3.click(fn=example3, inputs=[], outputs=[churn3])
|
|
|
176 |
Card Type - Blue\n
|
177 |
""")
|
178 |
with gr.Column(scale=4,min_width=300):
|
179 |
+
gr.Image("/avatars/3.png")
|
180 |
churn4 = gr.Textbox(value="", label="Churn")
|
181 |
btn4 = gr.Button("PREDICT").style()
|
182 |
btn4.click(fn=example4, inputs=[], outputs=[churn4])
|