Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -77,7 +77,11 @@ def credit_run(person_age, person_income, person_home_ownership,
|
|
77 |
))
|
78 |
out = rf_model.predict(model_input)
|
79 |
return "High risk of defaulting" if out[0] == 1 else "Low risk of defaulting"
|
80 |
-
|
|
|
|
|
|
|
|
|
81 |
|
82 |
import gradio as gr
|
83 |
demo = gr.Interface(
|
|
|
77 |
))
|
78 |
out = rf_model.predict(model_input)
|
79 |
return "High risk of defaulting" if out[0] == 1 else "Low risk of defaulting"
|
80 |
+
|
81 |
+
with gr.Blocks() as demo:
|
82 |
+
with gr.Row():
|
83 |
+
with gr.Column(scale=1,min_width=600):
|
84 |
+
gr.Image("Credit_risk_logo.jpg").style(height='7')
|
85 |
|
86 |
import gradio as gr
|
87 |
demo = gr.Interface(
|