Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
import numpy as np
|
2 |
import pandas as pd
|
3 |
from sklearn.ensemble import RandomForestClassifier
|
|
|
4 |
|
5 |
df = pd.read_csv("credit_risk_dataset.csv")
|
6 |
|
@@ -83,7 +84,6 @@ with gr.Blocks() as demo:
|
|
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(
|
88 |
fn = credit_run,
|
89 |
inputs = [
|
|
|
1 |
import numpy as np
|
2 |
import pandas as pd
|
3 |
from sklearn.ensemble import RandomForestClassifier
|
4 |
+
import gradio as gr
|
5 |
|
6 |
df = pd.read_csv("credit_risk_dataset.csv")
|
7 |
|
|
|
84 |
with gr.Column(scale=1,min_width=600):
|
85 |
gr.Image("Credit_risk_logo.jpg").style(height='7')
|
86 |
|
|
|
87 |
demo = gr.Interface(
|
88 |
fn = credit_run,
|
89 |
inputs = [
|