Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -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("/avatars/1.png")
|
| 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("/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,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("/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,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("/avatars/3.png")
|
| 180 |
churn4 = gr.Textbox(value="", label="Churn")
|
| 181 |
btn4 = gr.Button("PREDICT").style()
|
| 182 |
btn4.click(fn=example4, inputs=[], outputs=[churn4])
|
|
|
|
| 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])
|