Parthebhan commited on
Commit
14120f0
·
verified ·
1 Parent(s): 1fedaae

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ import pickle
2
  import gradio as gr
3
 
4
  # Load the pickled model
5
- with model = tf.keras.models.load_model("census.h5")
6
 
7
  # Define the function for making predictions
8
  def salarybracket(age, workclass, education, education_num, marital_status, occupation, relationship, race, gender, capital_gain, capital_loss, hours_per_week, native_country):
 
2
  import gradio as gr
3
 
4
  # Load the pickled model
5
+ model = tf.keras.models.load_model("census.h5")
6
 
7
  # Define the function for making predictions
8
  def salarybracket(age, workclass, education, education_num, marital_status, occupation, relationship, race, gender, capital_gain, capital_loss, hours_per_week, native_country):