harish199 commited on
Commit
dc3e47f
1 Parent(s): c4b1cf2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
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(