saaara commited on
Commit
32ba6aa
1 Parent(s): 5b41311

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -5,10 +5,10 @@ import pandas as pd
5
  import tensorflow as tf
6
 
7
  # Load the trained model
8
- model = tf.keras.models.load_model('real_estate_price_prediction_model.h5')
9
 
10
  # Load the original dataset to get unique categories for 'secteur' and 'city'
11
- original_df = pd.read_excel('/content/Moroccan Real Estate Price Clean Dataset .xlsx') # Replace with your dataset path
12
 
13
  # Get unique categories for 'secteur' and 'city'
14
  unique_secteurs = original_df['secteur'].unique()
 
5
  import tensorflow as tf
6
 
7
  # Load the trained model
8
+ model = tf.keras.models.load_model("./mon_modele.bin")
9
 
10
  # Load the original dataset to get unique categories for 'secteur' and 'city'
11
+ original_df = pd.read_excel("./Moroccan Real Estate Price Clean Dataset .xlsx") # Replace with your dataset path
12
 
13
  # Get unique categories for 'secteur' and 'city'
14
  unique_secteurs = original_df['secteur'].unique()